import { type SqliteOptions } from "https://deno.land/x/sqlite@v3.8/mod.ts";
Options for opening a database.
Properties
Mode in which to open the database.
-
read
: read-only, throws an error if the database file does not exists -
write
: read-write, throws an error if the database file does not exists -
create
: read-write, create the database if the file does not exist (for an in-memory database this is the same aswrite
)
create
is the default if no mode is
specified.
Force the database to be in-memory. When this option is set, the database is opened in memory, regardless of the specified filename.
Interpret the file name as a URI. See https://sqlite.org/uri.html for more information.