Skip to content

Commit 7c25158

Browse files
committed
doc: add sqlite session disposal method
1 parent 282d30e commit 7c25158

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/api/sqlite.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,11 +735,19 @@ Similar to the method above, but generates a more compact patchset. See [Changes
735735
in the documentation of SQLite. An exception is thrown if the database or the session is not open. This method is a
736736
wrapper around [`sqlite3session_patchset()`][].
737737

738-
### `session.close()`.
738+
### `session.close()`
739739

740740
Closes the session. An exception is thrown if the database or the session is not open. This method is a
741741
wrapper around [`sqlite3session_delete()`][].
742742

743+
### `session[Symbol.dispose]()`
744+
745+
<!-- YAML
746+
added: v24.9.0
747+
-->
748+
749+
Closes the session. If the session is already closed, does nothing.
750+
743751
## Class: `StatementSync`
744752

745753
<!-- YAML

0 commit comments

Comments
 (0)