is it possible to keep the order of cardinality/many data?
I would prefer that the returned :tags be left in their original order
thanks!
You need to store that separately
Either on some kind of “join” entity with an order value
Or an ordered collection value on the tagged object that is not the relation
They both have pros and cons
Personally I’ve found it easier to do the latter
@dimovich There's a section about this on the Tips & tricks page: https://github.com/tonsky/datascript/wiki/Tips-&-tricks#preserving-order