datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
richiardiandrea 2020-02-04T05:07:21.006900Z

hi again, I was wondering if there is a way to tell Datascript to use a key that I decide as my :db/id instead of generating one?

2020-02-04T05:12:35.009300Z

I don't no for sure, but I doubt it. However you can, in your schema, specify that an attribute is a unique identity, which might be something to look at

richiardiandrea 2020-02-04T05:14:50.010500Z

ok thanks a lot, I am doing that and it is working fine - was just curious and thinking that I was missing something - I know my data will come with unique ids in the :guid key