Skip to content

Commit 99c783b

Browse files
Renegade334aduh95
authored andcommitted
doc: add sqlite session disposal method
PR-URL: #61273 Refs: #58378 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent c7764be commit 99c783b

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

726-
### `session.close()`.
726+
### `session.close()`
727727

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

731+
### `session[Symbol.dispose]()`
732+
733+
<!-- YAML
734+
added: v24.9.0
735+
-->
736+
737+
Closes the session. If the session is already closed, does nothing.
738+
731739
## Class: `StatementSync`
732740

733741
<!-- YAML

0 commit comments

Comments
 (0)