class

Granite::Query::Assembler::Base(Model)

Inherits Reference < Object

Constants

OPERATORS = {eq: "=", gteq: ">=", lteq: "<=", neq: "!=", ltgt: "<>", gt: ">", lt: "<", ngt: "!>", nlt: "!<", in: "IN", nin: "NOT IN", like: "LIKE", nlike: "NOT LIKE"}

Constructors

new(query : Builder(Model))
Source

Instance methods

add_aggregate_field(name : String)
Source
add_parameter(value : Granite::Columns::Type) : String
Source
build_sql
Source
count
Source
default_order
Source
delete
Source
exists?
Source
field_list
Source
first(n : Int32 = 1) : Executor::List(Model)
Source
group_by
Source
limit
Source
log(*stuff)
Source
numbered_parameters
Source
offset
Source
order(use_default_order = true)
Source
select
Source
sql_operator(operator : Symbol) : String
Source
table_name
Source
where
Source