Skip to main content
Module

x/sqlite3/mod.ts>DatabaseOpenOptions

Fastest & correct JavaScript bindings to SQLite3 C API, using Deno FFI.
Go to Latest
interface DatabaseOpenOptions
import { type DatabaseOpenOptions } from "https://deno.land/x/sqlite3@0.5.2/mod.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.