struct DB::SessionMethods::UnpreparedQuery(Session, Stmt)

Included Modules

Defined in:

db/session_methods.cr

Constructors

Instance Method Summary

Instance methods inherited from module DB::QueryMethods(Stmt)

exec(query, *args_, args : Array? = nil) exec, query(query, *args_, args : Array? = nil)
query(query, *args_, args : Array? = nil, &)
query
, query_all(query, *args_, args : Array? = nil, &block : ResultSet -> U) : Array(U) forall U
query_all(query, *args_, args : Array? = nil, as types : Tuple)
query_all(query, *args_, args : Array? = nil, as types : NamedTuple)
query_all(query, *args_, args : Array? = nil, as type : Class)
query_all
, query_each(query, *args_, args : Array? = nil, &) query_each, query_one(query, *args_, args : Array? = nil, &block : ResultSet -> U) : U forall U
query_one(query, *args_, args : Array? = nil, as types : Tuple)
query_one(query, *args_, args : Array? = nil, as types : NamedTuple)
query_one(query, *args_, args : Array? = nil, as type : Class)
query_one
, query_one?(query, *args_, args : Array? = nil, &block : ResultSet -> U) : U? forall U
query_one?(query, *args_, args : Array? = nil, as types : Tuple)
query_one?(query, *args_, args : Array? = nil, as types : NamedTuple)
query_one?(query, *args_, args : Array? = nil, as type : Class)
query_one?
, scalar(query, *args_, args : Array? = nil) scalar

Constructor Detail

def self.new(session : Session) #

[View source]

Instance Method Detail

def build(query) : Stmt #
Description copied from module DB::QueryMethods(Stmt)

:nodoc:


[View source]