Fork me on GitHub

Is the entity api only for on prem or an older api? I was using d/entity in datomic free and after switching to dev-local and client api, I am not able to find this same functionality. Lastly, is there some doc I can refer to on the differences between the free and the dev-local version? I’m seeing some tutorials online that seem to have a mismatch between these versions. Thanks


yes, entity doesn’t exist in cloud, pull is the suggested alternative. you can find the differences here: •


Thank you


How can one go about debugging a datomic query? I’m hitting the wall with creating a recursive rule and I would love to be able to see why the query engine returns what it does. Is there any tooling out there for this?


Are you able to share more info about the query?


As a general starting point, one can bind variables to partial results within the query and return that


I thought that would be easier to explain. All code is online:


Thanks for the thorough explanation. The first thing that popped to mind was


Thanks for this, so is pull the only realistic way to go for something like this? Also, will recursive pull only work if using the same attr?


Thank you @U024X3V2YN4 I’m going to study this


I think you are right that recursive pull only works on the same attribute. In your case you need to alternate betwee nodes and edges, so I'd probably go with something rule-based


Got it, thanks for finding that out


No problem, shout out if you need any more help!