Skip to main content
DatabaseSync.prototype.open - sqlite - Node documentation
method DatabaseSync.prototype.open

Usage in Deno

import { DatabaseSync } from "node:sqlite";
DatabaseSync.prototype.open(): void

Opens the database specified in the location argument of the DatabaseSyncconstructor. This method should only be used when the database is not opened via the constructor. An exception is thrown if the database is already open.

Return Type

void