Major version update. Major bugfixes. Security vulnerabilites fixed
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
import type { Database } from "bun:sqlite";
|
||||
type Params = {
|
||||
db: Database;
|
||||
dst: string;
|
||||
};
|
||||
/**
|
||||
* # Write a consistent copy of the database to `dst`
|
||||
* @description Uses `VACUUM INTO`, which includes changes still in the WAL
|
||||
* file (a plain file copy misses them).
|
||||
*/
|
||||
export default function snapshotDb({ db, dst }: Params): void;
|
||||
export {};
|
||||
Reference in New Issue
Block a user