class Slice::Lucky::Criteria(T, V)

Defined in:

avram/charms/slice_extensions.cr

Constructors

Instance methods inherited from class Avram::Criteria(T, V)

asc_order(null_sorting : Avram::OrderBy::NullSorting = :default) : T asc_order, column column, column=(column : String | Symbol) column=, desc_order(null_sorting : Avram::OrderBy::NullSorting = :default) : T desc_order, eq(value) : T eq, gt(value) : T gt, gte(value) : T gte, in(values) : T in, is_nil : T is_nil, is_not_nil : T is_not_nil, lt(value) : T lt, lte(value) : T lte, nilable_eq(value) : T nilable_eq, not : Avram::Criteria not, random_order : T random_order, rows rows, rows=(rows : T) rows=, select_average : Float64 | Nil select_average, select_average! : Float64 select_average!, select_max : V | Nil select_max, select_min : V | Nil select_min, select_sum select_sum

Constructor methods inherited from class Avram::Criteria(T, V)

new(rows : T, column : Symbol | String) new

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Constructor Detail

def self.new(rows : T, column : Symbol | String) #

[View source]