Skip to content

Commit 1eab53b

Browse files
Renegade334RafaelGSS
authored andcommitted
doc: add sqlite session disposal method
PR-URL: #61273 Refs: #58378 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 5fc3618 commit 1eab53b

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
@@ -733,11 +733,19 @@ Similar to the method above, but generates a more compact patchset. See [Changes
733733
in the documentation of SQLite. An exception is thrown if the database or the session is not open. This method is a
734734
wrapper around [`sqlite3session_patchset()`][].
735735

736-
### `session.close()`.
736+
### `session.close()`
737737

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

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

743751
<!-- YAML

0 commit comments

Comments
 (0)