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

Call DataScript DB conn for Datomic parity? #8

Open
sgrove opened this issue Aug 2, 2015 · 0 comments
Open

Call DataScript DB conn for Datomic parity? #8

sgrove opened this issue Aug 2, 2015 · 0 comments

Comments

@sgrove
Copy link
Member

sgrove commented Aug 2, 2015

There isn't a separation between a connection and a DB in DataScript as there is in Datomic (will there be, with the webpeer?), but it might be nice to present the same interface on both platforms. Right now the DS DB inside (:db dato) is the atom, and can be deref'd for reading, or transacted into. I like the idea of having the atom in (:conn dato) and a separate (dato/db (:conn dato)) function for parity.

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

1 participant