-
Notifications
You must be signed in to change notification settings - Fork 1
3. Statements
Module: daoism/statements
- StatementBuilder
- $log
-
builder
Factory function for StatementBuilder instances. See the StatementBuilder wiki for details how to use
Returns StatementBuilder instance
-
execute
Executes the statement provided by the StatementBuilder argument, a query or update.
-
statementBuilder StatementBuilder Object
The StatementBuilder instance used to generate a valid SQl statement to execute. It is expected that it has been built as appropriate by the time it is provided to the execute method.
-
connection Connection Object
The data source connection to sue to execute the statement
-
parameters Object
The parameters to bind to the statement if this is a prepared statement.
Returns The result of the
execute
operation that is either a ResultSet to iterate in case of query, or the updated records count in case of update statement -