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

Included Modules

Defined in:

db/session_methods.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from module DB::QueryMethods

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

Class Method Detail

def self.new(session : Session) #

[View source]

Instance Method Detail

def build(query) : Stmt #

[View source]