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 : ExecResult
exec(*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 : ExecResult
exec(*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

Instance methods inherited from module DB::Disposable

close close, closed? closed?

Constructor Detail

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

[View source]