datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
unbalanced 2020-03-13T19:06:31.036300Z

@grounded_sage just so I understand correctly it looks like you're trying to find tripples of entities that share and address id? (or share customer/address but not bank?)

unbalanced 2020-03-13T19:07:29.036800Z

and this is assuming that (not= ?e ?e2)?

grounded_sage 2020-03-13T19:25:51.038900Z

I’m trying to find everything that shares the sam address-id. Keeping all of the first pattern match. So the following matches I just want to add the data or provide a default empty string etc if not available

unbalanced 2020-03-13T20:49:18.041700Z

is address-id :db.unique/identity and are :customer/address-id and :bank/address-id a :db.type/ref? Maybe

[:find  (pull ?e [:customer/_address-id :bank/_address-id :address/_address-id]) 
 :where [_ :address/address-id ?e]]