Fork me on GitHub
#datascript
<
2020-02-04
>
richiardiandrea05:02:21

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?

hiredman05:02:35

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

richiardiandrea05:02:50

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