We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide the capability to retract all the attributes of an entity and any references to it.
https://docs.datomic.com/cloud/transactions/transaction-functions.html
The text was updated successfully, but these errors were encountered:
Since this is generating the triples to be removed, it belongs in asami.entities.writer
asami.entities.writer
There are 2 conditions here: top-level-entities and sub-entities. The latter may not be necessary, but I'm going to assume that they are useful.
For a top-level entity:
:db/id
node
[node :tg/owns ?s]
[?e ?a node]
[node ?a ?v]
?v
For an entity that isn't top-level:
[?p :tg/owns node]
[parent :tg/owns ?s]
This second process should recurse down, matching the things owned by the same parent, but should not affect siblings/cousins/etc.
Sorry, something went wrong.
No branches or pull requests
Provide the capability to retract all the attributes of an entity and any references to it.
https://docs.datomic.com/cloud/transactions/transaction-functions.html
The text was updated successfully, but these errors were encountered: