Skip to main content
DatabaseSync.prototype.open - node__sqlite.d.ts - Node documentation
method DatabaseSync.prototype.open

Usage in Deno

```typescript import { DatabaseSync } from "node:node__sqlite.d.ts"; ```
DatabaseSync.prototype.open(): void
Opens the database specified in the `location` argument of the `DatabaseSync`constructor. 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