Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent adapter #24

Open
alexbiehl opened this issue Aug 9, 2015 · 7 comments
Open

Persistent adapter #24

alexbiehl opened this issue Aug 9, 2015 · 7 comments

Comments

@alexbiehl
Copy link
Contributor

Hello,

I have a fully specified model using persistent from the yesod framework and currently I am evaluating available query DSLs. Do you think it would be possible to write adapters for relational-record to use it with persistent? That would make relational-record way more easily usable for me and probably many other people.

Thank you,
Alex

@rehno-lindeque
Copy link

I'm also curious whether relational-record could function as a reasonable stand-in for esqueleto

@alexbiehl
Copy link
Contributor Author

@rehno-lindeque a glance over the code reveals relational-query-hdbc is itself an adapter for relational-query. I don't know what is needed exactly but it supplies ToSql instances for hdbcs record representation.

Maybe it wouldn't be too much work to make it work with PersistValues but I cannot say exactly yet.

@kazu-yamamoto
Copy link
Collaborator

In private communication, @khibino pushed this issue to his todo list. :-)

@rehno-lindeque
Copy link

👍

@khibino
Copy link
Owner

khibino commented Jun 11, 2016

A persistent adapter is developed at
https://github.com/himura/persistent-relational-record

@khibino
Copy link
Owner

khibino commented Oct 30, 2016

Uploaded to hackage!
http://hackage.haskell.org/package/persistent-relational-record

@rehno-lindeque
Copy link

Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants