abstract class DB::Statement
- DB::Statement
- Reference
- Object
Overview
Represents a query in a Connection
.
It should be created by QueryMethods
.
Note to implementors
- Subclass
Statements
Statements
are created from a custom driverConnection#prepare
method.#perform_query
executes a query that is expected to return aResultSet
#perform_exec
executes a query that is expected to return anExecResult
#do_close
is called to release the statement resources.
Included Modules
- DB::StatementMethods
Defined in:
lib/db/src/db/statement.crjennifer/adapter/shared/db.cr