import { type SqliteOptions } from "https://deno.land/x/sqlite@v3.4.0/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 existswrite
: read-write, throws an error if the database file does not existscreate
: read-write, create the database if the file does not exist
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.