struct Interro::DynamicQuery(T, U)
- Interro::DynamicQuery(T, U)
- Interro::QueryBuilder(T)
- Struct
- Value
- Object
Defined in:
dynamic_query.crConstructors
Macro Summary
Instance Method Summary
- #model_table_mappings(*args, **options)
- #model_table_mappings(*args, **options, &)
- #sql_table_alias(*args, **options)
- #sql_table_alias(*args, **options, &)
- #sql_table_name : String
Instance methods inherited from struct Interro::QueryBuilder(T)
&(other : self) : CompoundQuery
&,
-(other : self) : CompoundQuery
-,
|(other : self) : CompoundQuery
|,
any? : Bool
any?,
count : Int64
count,
eacheach(& : 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)
#