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) : ExecResult
- #query : ResultSet
- #query(*args_, args : Array? = nil) : ResultSet
- #scalar(*args_, args : Array? = nil)
Instance methods inherited from module DB::StatementMethods
exec : ExecResultexec(*args_, args : Array? = nil) : ExecResult exec, query(*args_, args : Array? = nil, &)
query : ResultSet
query(*args_, args : Array? = nil) : ResultSet query, scalar(*args_, args : Array? = nil) scalar