Closed ahdinosaur closed 10 years ago
You means snapshot of all data/properties in given dbjs realm?
yeah, that sounds great. i was wondering about getSnapshot, as snapshotting was mentioned in the video linked in the README. does this feature currently exist?
Yes, this function will return collection of all the events that present state of things in current dbjs realm, and collection would be sorted by modification date.
See also dbjs-log project, although not documented yet (sorry). It provides utilities to save snapshot to a file, to save live log to a file, and then to restore state to any given point in time.
would be especially useful in the context of https://github.com/medikoo/dbjs/issues/3.