abstract class DB::PoolStatement
- DB::PoolStatement
- Reference
- Object
Overview
When a statement is to be executed in a DB that has a connection pool a statement from the DB needs to be able to represent a statement in any of the connections of the pool. Otherwise the user will need to deal with actual connections in some point.
Included Modules
- DB::StatementMethods
Defined in:
lib/db/src/db/pool_statement.cravram/pool_statement_logging.cr
Instance Method Summary
-
#exec : ExecResult
See
QueryMethods#exec
-
#exec(*args_, args : Array | Nil = nil) : ExecResult
See
QueryMethods#exec
-
#query : ResultSet
See
QueryMethods#query
-
#query(*args_, args : Array | Nil = nil) : ResultSet
See
QueryMethods#query
-
#scalar(*args_, args : Array | Nil = nil)
See
QueryMethods#scalar