import { Statement } from "https://deno.land/x/libpkgx@v0.19/vendor/sqlite3@0.10.0/mod.ts";
Represents a prepared statement.
See Database#prepare
for more information.
Constructors
Properties
Unsafe Raw (pointer) to the sqlite object
Methods
Run the query and return the resulting rows where rows are objects mapping column name to their corresponding values.
Bind parameters to the statement. This method can only be called once to set the parameters to be same throughout the statement. You cannot change the parameters after this method is called.
This method is merely just for optimization to avoid binding parameters each time in prepared statement.
Get bind parameter index by name
Get bind parameter name by index
Free up the statement object.
Fetch only first row as an object, if any.
Simply run the query without retrieving any output there may be.
Coerces the statement to a string, which in this case is expanded SQL.
Fetch only first row as an array, if any.
Run the query and return the resulting rows where rows are array of columns.
Iterate over resultant rows from query.