Skip to main content
Module

x/sqlite/browser/mod.ts>open

Deno SQLite module
Go to Latest
function open
import { open } from "https://deno.land/x/sqlite@v3.7.2/browser/mod.ts";

Opens a database with the given name. If file is not provided or :memory:, an in-memory database is returned which will not persist after the database is closed.

Parameters

optional
file: string

Returns

Promise<DB>