abstract class Granite::Query::Assembler::Base(Model)
- Granite::Query::Assembler::Base(Model)
- Reference
- Object
Direct Known Subclasses
- Granite::Query::Assembler::Mysql(Model)
- Granite::Query::Assembler::Pg(Model)
- Granite::Query::Assembler::Sqlite(Model)
Defined in:
granite/query/assemblers/base.crConstant Summary
-
OPERATORS =
{eq: "=", gteq: ">=", lteq: "<=", neq: "!=", ltgt: "<>", gt: ">", lt: "<", ngt: "!>", nlt: "!<", in: "IN", nin: "NOT IN", like: "LIKE", nlike: "NOT LIKE"}
Constructors
Instance Method Summary
- #add_aggregate_field(name : String)
- #add_parameter(value : Granite::Columns::Type) : String
- #build_sql(&)
- #count : Executor::MultiValue(Model, Int64) | Executor::Value(Model, Int64)
- #default_order
- #delete
- #exists? : Executor::Value(Model, Bool)
- #field_list
- #first(n : Int32 = 1) : Executor::List(Model)
- #group_by
- #limit
- #log(*stuff)
- #numbered_parameters
- #offset
- #order(use_default_order = true)
- #select
- #sql_operator(operator : Symbol) : String
- #table_name
- #where