Skip to content
New issue

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

Declarative derived properties #53

Open
mdiep opened this issue Apr 16, 2018 · 0 comments
Open

Declarative derived properties #53

mdiep opened this issue Apr 16, 2018 · 0 comments

Comments

@mdiep
Copy link
Collaborator

mdiep commented Apr 16, 2018

It can be useful to keep derived properties to denormalize some aspect of the data model. e.g., a denormalized book count on an author that is calculated from the number of books. This can make queries quicker.

PersistDB should provide some way to declare derived properties. The store should keep the field updated when changes are made. This behaves essentially like an observed query, but the result is persisted in the store.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant