prepared Statement
Creates a statement from the given SQL statement, runs the block and closes the statement.
The returned keys are accessible using getGeneratedKeys.
Parameters
An SQL statement that may contain one or more '?' IN parameter placeholders
true
to return the generated keys
See also
Creates a statement from the given SQL statement, runs the block and closes the statement.
The returned keys are accessible using getGeneratedKeys.
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
See also
Creates a statement from the given SQL statement, runs the block and closes the statement.
The returned keys are accessible using getGeneratedKeys.
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