Fork me on GitHub
#datascript
<
2018-09-13
>
idiomancy02:09:15

can anyone tell me what this . is for in the following re-posh query?

{:type :query
 :query '[:find ?id .
          :where [?id :app/type :type/account]]}

idiomancy02:09:51

I'm still trying to figure out this business. is it the same meaning in datomic?

👍 4
souenzzo10:09:32

:find ?e => #{[e1] [e2] ...} :find [?e] => [e1] :find [?e ...] => [e1 e2 ...] :find ?e . => e1

idiomancy14:09:07

THANK YOU! That's exactly what I needed!

idiomancy15:09:07

is there any way to apply find specifications for pull patterns?

idiomancy15:09:08

or would I have to make another layer 3 subscription to say "i just want the value from this entity"

idiomancy19:09:13

or, more importantly, is there any way in re-posh to materialize a view from a pulled value?

idiomancy19:09:25

in other words, is there some way I can register a subscription that uses a pulled entity as its input?