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

Usage in Deno

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

Closes the database connection. An exception is thrown if the database is not open. This method is a wrapper around sqlite3_close_v2().

Return Type

void
Back to top