Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denodb/deps.ts>SQLiteClient#close

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Go to Latest
method SQLiteClient.prototype.close
import { SQLiteClient } from "https://deno.land/x/denodb@v1.2.0/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]