mirror of
https://github.com/hanzoai/better-sqlite3-multiple-ciphers.git
synced 2026-09-24 16:57:19 +00:00
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:
co-authored by
Keith Jackson
parent
698d4e31fc
commit
a8167c201b
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user