From 7c25158ef644cafa4810b3ef6fcdcde83339da29 Mon Sep 17 00:00:00 2001 From: Renegade334 Date: Sun, 4 Jan 2026 01:58:34 +0100 Subject: [PATCH] doc: add sqlite session disposal method --- doc/api/sqlite.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 186e70784b94d0..ce6db6186c3396 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -735,11 +735,19 @@ Similar to the method above, but generates a more compact patchset. See [Changes in the documentation of SQLite. An exception is thrown if the database or the session is not open. This method is a wrapper around [`sqlite3session_patchset()`][]. -### `session.close()`. +### `session.close()` Closes the session. An exception is thrown if the database or the session is not open. This method is a wrapper around [`sqlite3session_delete()`][]. +### `session[Symbol.dispose]()` + + + +Closes the session. If the session is already closed, does nothing. + ## Class: `StatementSync`