Fork me on GitHub
#datomic
<
2015-06-30
>
ghadi15:06:44

what's the current convention for storing lists with ordering in datomic?

Alex Miller (Clojure team)15:06:56

building your own linked list

ghadi15:06:04

yikes 😉

ghadi15:06:59

Then use entity navigation to grab all the results?

ghadi15:06:02

Or recursive query?

ghadi15:06:30

nm, i don't know how to achieve it with a recursive query

ghadi15:06:06

rubber-ducking: using navigation simplifies, I suppose then the challenge becomes update

Lambda/Sierra16:06:40

Or an :order attribute on the elements in the list.

robert-stuttaford18:06:55

:order on elements presupposes that the items only participate in a single list

robert-stuttaford18:06:27

@tcrayford: i don’t think that’s pull’s intent. not to pull out the shape you want, but rather a generic way to pull whatever you want out at once for a linked graph of entities

robert-stuttaford18:06:02

i’m not aware of any ability to transform the natural shape of the result in pull with pull, only how to describe what to pull