Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
interface DatabaseOpenOptions
import { type DatabaseOpenOptions } from "https://deno.land/x/libpkgx@v0.19/vendor/sqlite3@0.10.0/src/database.ts";

Various options that can be configured when opening Database connection.

Properties

optional
readonly: boolean

Whether to open database only in read-only mode. By default, this is false.

optional
create: boolean

Whether to create a new database file at specified path if one does not exist already. By default this is true.

optional
flags: number

Raw SQLite C API flags. Specifying this ignores all other options.

optional
memory: boolean

Opens an in-memory database.

optional
int64: boolean

Whether to support BigInt columns. False by default, integers larger than 32 bit will be inaccurate.

optional
unsafeConcurrency: boolean

Apply agressive optimizations that are not possible with concurrent clients.

optional
enableLoadExtension: boolean

Enable or disable extension loading

optional
sqlite3: string