Fork me on GitHub
#datascript
<
2021-03-25
>
Aron08:03:28

after 6 years, i want to come back to datascript, but I forgot almost everything

Aron08:03:56

so I am struggling a bit, wasn't there a way to load maps into an empty db if there is a valid schema?

Aron08:03:11

without having to add manually tempids

raspasov08:03:24

@ashnur I only have a month or so of DataScript experience, but I guess it shouldn’t be a problem; Is every map an individual entity? I guess the schema and the “shape” of the maps determine whether you’ll end up with a desirable database structure.

Aron08:03:03

no, just a single map

Aron08:03:23

thanks @raspasov, you saying 'every map' reminded me that i need to put it in a vector facepalm