saveSnapshot
@quik/database / saveSnapshot
Function: saveSnapshot()
saveSnapshot(
filePath,snapshot):void
Defined in: database/src/migrations/snapshot/store.ts:42
Writes a schema snapshot to disk, creating the containing directory if needed.
Parameters
filePath
string
Path to the snapshot JSON file.
snapshot
Snapshot to write.
Returns
void