class DB::PoolUnpreparedStatement

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.cr

Constructors

Instance methods inherited from class DB::PoolStatement

exec(args : Array) : ExecResult
exec : ExecResult
exec(*args) : ExecResult
exec
, query(args : Array) : ResultSet
query : ResultSet
query(*args) : ResultSet
query
, scalar(*args) scalar

Constructor methods inherited from class DB::PoolStatement

new(db : Database, query : String) new

Instance methods inherited from module DB::StatementMethods

exec(args : Array) : ExecResult
exec : ExecResult
exec(*args) : ExecResult
exec
, query(*args, &block)
query(args : Array) : ResultSet
query : ResultSet
query(*args) : ResultSet
query
, scalar(*args) scalar

Instance methods inherited from module DB::Disposable

close close, closed? closed?

Constructor Detail

def self.new(db : Database, query : String) #

[View source]