You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using lokijs with auto save off, and saving the database using db.saveDatabase() after certain actions.
Suppose I make a few changes and want to discard them. I don't call saveDatabase(), but the data stays in-memory, for the duration of the work session, I believe.
Instead of manually undoing the changes, is there a way to revert the database to the previously saved state? Or clear the in-memory changes?
Thank you so much!
The text was updated successfully, but these errors were encountered:
I'm using lokijs with auto save off, and saving the database using db.saveDatabase() after certain actions.
Suppose I make a few changes and want to discard them. I don't call saveDatabase(), but the data stays in-memory, for the duration of the work session, I believe.
Instead of manually undoing the changes, is there a way to revert the database to the previously saved state? Or clear the in-memory changes?
Thank you so much!
The text was updated successfully, but these errors were encountered: