Fork me on GitHub
#datomic
<
2020-08-08
>
mafcocinco04:08:14

Random newb question: If an entity is retracted, are all references to that entity automatically retracted as well or are those retractions explicitly required?

potetm14:08:38

> It retracts all the attribute values where the given id is either the entity or value, effectively retracting the entity’s own data and any references to the entity as well. https://docs.datomic.com/on-prem/transactions.html#dbfn-retractentity

potetm14:08:29

It’s just a shorthand for retracting all facts involving that entity.