Skip to main content
The Deno 2 Release Candidate is here
Learn more
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://deno.land/x/nessie@2.0.7/deps.ts";

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

If force is specified, any active PreparedQuery will be finalized. Otherwise, this throws if there are active queries.

close may safely be called multiple times.

Parameters

optional
force = [UNSUPPORTED]