Module

x/nessie/deps.ts>SQLiteClient#close

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Go to Latest
method SQLiteClient.prototype.close
import { SQLiteClient } from "https://dotland.deno.dev/x/nessie@2.0.9/deps.ts";

Close the database. This must be called if the database is no longer used to avoid leaking open file descriptors.

If force = true is passed, any non-finalized PreparedQuery objects will be finalized. Otherwise, this throws if there are active queries.

close may safely be called multiple times.

Parameters

optional
force = [UNSUPPORTED]