struct 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 struct DB::PoolStatement

exec : ExecResult
exec(*args_, args : Array | Nil = nil) : ExecResult
exec
, query : ResultSet
query(*args_, args : Array | Nil = nil) : ResultSet
query
, scalar(*args_, args : Array | Nil = nil) scalar

Constructor methods inherited from struct DB::PoolStatement

new(db : Database, query : String) new

Instance methods inherited from module DB::StatementMethods

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

Constructor Detail

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

[View source]