struct Interro::DynamicQuery(T, U)

Defined in:

dynamic_query.cr

Constructors

Macro Summary

Instance Method Summary

Instance methods inherited from struct Interro::QueryBuilder(T)

&(other : self) : CompoundQuery &, -(other : self) : CompoundQuery -, |(other : self) : CompoundQuery |, any? : Bool any?, count : Int64 count, each
each(& : T -> )
each
, first(count : Int)
first
first
, first? first?, initialize initialize, merge(other : QueryBuilder) : self merge, to_json(json : JSON::Builder) : Nil to_json, to_sql : String to_sql

Constructor methods inherited from struct Interro::QueryBuilder(T)

[](transaction : DB::Transaction) : self [], new(transaction_owner : Interro::QueryBuilder)
new
new

Macros inherited from struct Interro::QueryBuilder(T)

from(name, *joins) from, table(name, as table_alias = nil) table

Constructor Detail

def self.new(select select_columns : String, distinct, from sql_table_name : String, join join_clause, where where_clause, order_by order_by_clause, offset offset_clause, limit limit_clause, args, transaction, delegate : U) #

[View source]

Macro Detail

macro method_missing(call) #

[View source]

Instance Method Detail

def model_table_mappings(*args, **options) #

[View source]
def model_table_mappings(*args, **options, &) #

[View source]
def sql_table_alias(*args, **options) #

[View source]
def sql_table_alias(*args, **options, &) #

[View source]
def sql_table_name : String #

[View source]