Fork me on GitHub
#datomic
<
2016-01-09
>
isaac05:01:20

@bostonaholic: @bkamphaus yeah! I find it can not use in query

isaac05:01:35

and can appear in transact

@(d/transact conn [{:db/id (d/tempid :db.part/user)
                           :neighborhood/name "jack"
                           :community/_neighborhood c-id}])

isaac05:01:45

this transact is ok

isaac05:01:34

@(d/transact conn [{:db/id (d/tempid :db.part/user)
                           :neighborhood/name "jack"
                           :community/_neighborhood [c-id1 c-id2]}])
but in this case [c-id1 c-id2] will treat as look ref.

raymcdermott08:01:22

FYI I have created another demo of Datomic / Hoplon / Castra. First one just showed off random queries, this time shows updates via Castra - it’s simple and not especially pretty but shows off how to achieve the combination