class Granite::Query::Assembler::Pg(Model)

Defined in:

granite/query/assemblers/pg.cr

Constructors

Instance Method Summary

Instance methods inherited from class Granite::Query::Assembler::Base(Model)

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

Constructor methods inherited from class Granite::Query::Assembler::Base(Model)

new(query : Builder(Model)) new

Constructor Detail

def self.new(query : Builder(Model)) #

[View source]

Instance Method Detail

def add_parameter(value : Granite::Columns::Type) : String #

[View source]