sqlite-undo #407
rcarver
started this conversation in
Show and tell
sqlite-undo
#407
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/latentco/sqlite-undo
Just wanted to share a library we put together for undo of SQLiteData. Setup is intentionally modeled after
SyncEngineThen you simply wrap any operations you want to be undable.
The implementation is based on the SQLite Article for undo/redo, with some tweaks to make it play nice with triggers.
We just shipped it in a Mac app using TCA, so it's in production but probably still evolving. Would love to know if it works for others.
Note: our app doesn't use sync (yet) so it hasn't been tested for those scenarios.
Beta Was this translation helpful? Give feedback.
All reactions