Fork me on GitHub
#datomic
<
2020-06-19
>
arohner13:06:49

What is the idiomatic way to express

(d/q '[:find [?name ...] :in $ :where ...])
? I’m getting Only find-rel elements are allowed in client find-spec, see

marshall13:06:34

@arohner you need to use the find-rel spec only: :find ?name :in ...

marshall13:06:52

manipulating the collection after it is returned can then be handled in your client app code

arohner13:06:08

Right. I’m asking if there’s a datomic client alternative to [?name …]

arohner13:06:16

Ok, sounds like there’s no alternative

souenzzo13:06:39

(map first (d/q '[])) Or '[:find ?name :keys :name ....] @arohner