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
Direct Known Subclasses
Defined in:
db/pool_statement.crConstructors
Instance Method Summary
- #exec : ExecResult
- #exec(*args_, args : Array | Nil = nil) : ExecResult
- #query : ResultSet
- #query(*args_, args : Array | Nil = nil) : ResultSet
- #scalar(*args_, args : Array | Nil = nil)
Instance methods inherited from module DB::StatementMethods
exec : ExecResultexec(*args_, args : Array | Nil = nil) : ExecResult exec, query(*args_, args : Array | Nil = nil, &)
query : ResultSet
query(*args_, args : Array | Nil = nil) : ResultSet query, scalar(*args_, args : Array | Nil = nil) scalar