Hi. AFAIK datalog and datomic have no tools to handle sequences. I wondering if datascript has some sequences support?
@cheatex What kind of tools?
Do you mean like https://gist.github.com/stuarthalloway/2645453 ?
@danielstockton Basically anything that gives me ability to add entity as first/last and later get query result in the that order. Without writing my own library and performance penalty.
Then no, I think both datomic and datascript return sets, and you're expected to do any sorting in your own code
There are multiple indexes, so first/last doesn't really have any meaning until you sort
What performance penalties are you referring to? In datomic/datascript the result of a query has to fit in memory.
neither do sql databases
you need an additional “order” attribute everywhere