Add API doc note about statement finalization

* Add note about statement finalization

* PR comment

Co-authored-by: Keith Jackson <[email protected]>
This commit is contained in:
Mahesh Bandara Wijerathna
2025-01-29 09:35:05 +05:30
co-authored by Keith Jackson
parent 698d4e31fc
commit a8167c201b
+2
View File
@@ -448,6 +448,8 @@ An object representing a single SQL statement.
- [Statement#bind()](#bindbindparameters---this)
- [Properties](#properties-1)
> NOTE: Statements are [finalized](https://www.sqlite.org/c3ref/finalize.html) when garbage collected so there is no explicit API for it. Statements are also finalized when the associated database is closed.
### .run([*...bindParameters*]) -> *object*
Executes the prepared statement. When execution completes it returns an `info` object describing any changes made. The `info` object has two properties: