ReadonlyexpandedThe expanded SQL string with bound parameters, if expandedSQL option was set.
ReadonlysourceThe original SQL source string.
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.
Array of column metadata objects with name, column, database, table, and type.
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.