Fork me on GitHub
#datomic
<
2017-11-26
>
lmergen20:11:24

@luchini this looks very interesting! Am I correct in assuming that it's more explicit ok no specifying the migrations you are going to perform? And allow for more complex migrations?

lmergen20:11:58

If so, count me in! This is exactly what I've been missing from conformity

lmergen20:11:04

One thing that I would like is the possibility to run it outside of lein. So that I can run it as a standalone docker container. I suppose that will not be too much of a problem tho?

yannvahalewyn23:11:16

Hey channel, is there a way to query for the max value of a datom, and use that result further in the query? Like “HAVING” sql syntax and not :find (max ?x). I would to filter rel-many elements to the last in a where clause, like

[:find ?x
 :where 
 [?parent :parent/children ?child]
 [?child :child/position ?pos]
 [(max ?pos) ?max-pos]
 [... ;; do something else with max-pos,
]

yannvahalewyn23:11:24

A way to chain queries maybe?