This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-12
Channels
- # beginners (2)
- # boot (1)
- # cider (3)
- # cljsrn (28)
- # clojure (70)
- # clojure-russia (1)
- # clojure-spec (21)
- # clojure-uk (2)
- # clojurescript (16)
- # component (10)
- # data-science (5)
- # datomic (9)
- # emacs (5)
- # fulcro (2)
- # jobs (1)
- # juxt (1)
- # klipse (23)
- # lumo (1)
- # mount (12)
- # off-topic (4)
- # parinfer (1)
- # re-frame (20)
- # ring-swagger (2)
- # spacemacs (4)
Hi! Quick question: is there a soft guarantee that results from a datalog query or pull expression will always come back in the same order if the query is executed on the same DB?
This doesn’t have to be a hard guarantee. Basically I am wondering if I could build cursor pagination on top of datomic by using a (tx-id, index) pair as cursor
The tx-id would be used to get back the db at the point where the request was originally made, and the index would be the index in the result set
I don’t need those cursors to work forever; I would likely set a short expiry on them (since querying an old point in time in a Datomic db can be problematic for a variety of reasons; schema changes, etc)