with Statement
Creates a statement from the given SQL statement, runs the function and closes the statement.
Parameters
An SQL statement that may contain one or more '?' IN parameter placeholders
The function to run with the prepared statement
Creates a statement from the given SQL statement, runs the function and closes the statement.
Parameters
An SQL statement that may contain one or more '?' IN parameter placeholders
An array of column indexes indicating the columns that should be returned from the inserted row or rows
The function to run with the prepared statement
Creates a statement from the given SQL statement, runs the function and closes the statement.
Parameters
An SQL statement that may contain one or more '?' IN parameter placeholders
An array of column names indicating the columns that should be returned from the inserted row or rows
The function to run with the prepared statement