Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sqlite/browser/mod.ts>open

Deno SQLite module
Latest
function open
import { open } from "https://deno.land/x/sqlite@v3.9.1/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>