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

What information is persisted? #16

Closed
benwilson512 opened this issue Apr 28, 2017 · 1 comment
Closed

What information is persisted? #16

benwilson512 opened this issue Apr 28, 2017 · 1 comment

Comments

@benwilson512
Copy link

Hey!

This looks like a valuable library, I really appreciate the commitment to testing and robustness. What information is stored for each version? A snapshot of the changes? or a snapshot of the whole row?

@izelnakri
Copy link
Owner

I've decided to persist only the changes in order to save on overall data size and query speed. The only downside of this approach is reverting back becomes a more expensive operation, one has to fetch all the versions of a single record in order to build up its version state.

Thanks for your compliments, feel free to raise any suggestions / issues you might have in future ;)

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

No branches or pull requests

2 participants