Readonly
expandedThe expanded SQL string with bound parameters, if expandedSQL option was set.
Readonly
sourceThe original SQL source string.
Dispose of the statement resources using the explicit resource management protocol.
This method executes a prepared statement and returns all results as an array.
Optional named and anonymous parameters to bind to the statement.
An array of row objects from the query results.
Returns an array of objects, each representing a column in the statement's result set. Each object has a 'name' property for the column name and a 'type' property for the SQLite type.
Array of column metadata objects.
Finalizes the prepared statement and releases its resources. Called automatically by Symbol.dispose.
This method executes a prepared statement and returns the first result row.
Optional named and anonymous parameters to bind to the statement.
The first row from the query results, or undefined if no rows.
This method executes a prepared statement and returns an iterable iterator of objects. Each object represents a row from the query results.
Optional named and anonymous parameters to bind to the statement.
An iterable iterator of row objects.
This method executes a prepared statement and returns an object.
Optional named and anonymous parameters to bind to the statement.
An object with the number of changes and the last insert rowid.
A prepared SQL statement that can be executed multiple times with different parameters. This interface represents an instance of the StatementSync class.