Fork me on GitHub
#datomic
<
2021-06-16
>
joshkh18:06:43

is there a way to trace which https://docs.datomic.com/cloud/query/query-data-reference.html#rules) were satisfied during a query execution? i'm working on a rule list that is sometimes flat, sometimes recursive, and i'd like to be able explain which conditions were met (or not) for auditing purposes

favila21:06:36

I typically add an extra constant binding to each rule

favila21:06:04

[(ground :rule-impl-1) ?matched-rule-impl]

joshkh10:06:26

hey that's a great idea, thanks @U09R86PA4