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::Disposable
- DB::StatementMethods
Direct Known Subclasses
Defined in:
lib/db/src/db/statement.crframework/ext/sqlite3.cr