class DB::PoolUnpreparedStatement
- DB::PoolUnpreparedStatement
- DB::PoolStatement
- Reference
- Object
Overview
Represents a statement to be executed in any of the connections of the pool. The statement is not be executed in a non prepared fashion. The execution of the statement is retried according to the pool configuration.
See PoolStatement
Defined in:
db/pool_unprepared_statement.crConstructors
Instance methods inherited from class DB::PoolStatement
exec : ExecResultexec(*args_, args : Array? = nil) : ExecResult exec, query : ResultSet
query(*args_, args : Array? = nil) : ResultSet query, scalar(*args_, args : Array? = nil) scalar
Constructor methods inherited from class DB::PoolStatement
new(db : Database, query : String)
new
Instance methods inherited from module DB::StatementMethods
exec : ExecResultexec(*args_, args : Array? = nil) : ExecResult exec, query(*args_, args : Array? = nil, &block)
query : ResultSet
query(*args_, args : Array? = nil) : ResultSet query, scalar(*args_, args : Array? = nil) scalar