Skip to main content
Module

x/sqlite3/src/database.ts>Database#backup

The fastest and correct SQLite3 module for Deno runtime
Latest
method Database.prototype.backup
import { Database } from "https://deno.land/x/sqlite3@0.12.0/src/database.ts";

Parameters

dest: Database

The destination database connection.

optional
name = [UNSUPPORTED]

Destination database name. "main" for main database, "temp" for temporary database, or the name specified after the AS keyword in an ATTACH statement for an attached database.

optional
pages = [UNSUPPORTED]

The number of pages to copy. If it is negative, all remaining pages are copied (default).