Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Implement :db/isComponent #781

Open
ncalexan opened this issue Jul 10, 2018 · 0 comments
Open

Implement :db/isComponent #781

ncalexan opened this issue Jul 10, 2018 · 0 comments
Labels
A-query Issues or requests for query capabilities. A-transact Issues or requests in the transactor. enhancement

Comments

@ncalexan
Copy link
Member

As of v0.8.1, Mentat doesn't really support :db/isComponent true. This ticket tracks adding support.

This means that retracting [e a v] where a is :db/isComponent true retracts [v _ _] and so on, recursively.

This is one of the cases where the entities transacted aren't a superset of the datoms actually transacted, similar how :db/retractEntity. That means there's non-obvious interactions with transaction watchers, and thus with caches (and, in the future, materialized views).

@ncalexan ncalexan added enhancement A-query Issues or requests for query capabilities. A-transact Issues or requests in the transactor. labels Jul 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-query Issues or requests for query capabilities. A-transact Issues or requests in the transactor. enhancement
Projects
None yet
Development

No branches or pull requests

1 participant