Fork me on GitHub
#datomic
<
2021-04-15
>
uwo16:04:37

I was going to post this question here, and then I thought the forum might be a better place. Happy to have any input! https://forum.datomic.com/t/query-populous-business-entity-where-there-are-changes-at-any-level/1830

tatut05:04:56

that looks quite tricky, can’t really say how make the query faster, but if you could update some attr on the root every time you update some descendant (like :root/recursive-modification-time timestamp), you could simply query all roots based on that

tatut05:04:19

in effect moving the “has some descendant changed” determination from query time to tx time