class CategoryQuery

Defined in:

queries/category_query.cr

Instance Method Summary

Instance methods inherited from class Category::BaseQuery

clone clone, created_at(value)
created_at
created_at
, description(value)
description
description
, find(id) find, full_join_goods full_join_goods, full_join_goods_categories full_join_goods_categories, goods(&) goods, goods_categories(&) goods_categories, id(value)
id
id
, inner_join_goods inner_join_goods, inner_join_goods_categories inner_join_goods_categories, join_goods join_goods, join_goods_categories join_goods_categories, left_join_goods left_join_goods, left_join_goods_categories left_join_goods_categories, name(value)
name
name
, path(value)
path
path
, preload_goods(preload_query : Good::BaseQuery)
preload_goods
preload_goods(&)
preload_goods
, preload_goods_categories(preload_query : GoodsCategory::BaseQuery)
preload_goods_categories
preload_goods_categories(&)
preload_goods_categories
, right_join_goods right_join_goods, right_join_goods_categories right_join_goods_categories, update(id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, path : String | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, description : String | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, where_goods(assoc_query : Good::BaseQuery, auto_inner_join : Bool = true) where_goods, where_goods_categories(assoc_query : GoodsCategory::BaseQuery, auto_inner_join : Bool = true) where_goods_categories

Constructor methods inherited from class Category::BaseQuery

all : self all

Class methods inherited from class Category::BaseQuery

any? : Bool any?, find(id) find, first : T first, first? : T | Nil first?, last : T last, last? : T | Nil last?, new_with_existing_query(query : Avram::QueryBuilder) new_with_existing_query, none? : Bool none?, preload_goods(records : Enumerable, preload_query)
preload_goods(record, preload_query)
preload_goods(records : Enumerable)
preload_goods(record)
preload_goods(records : Enumerable, &)
preload_goods(record, &)
preload_goods
, preload_goods_categories(records : Enumerable, preload_query)
preload_goods_categories(record, preload_query)
preload_goods_categories(records : Enumerable)
preload_goods_categories(record)
preload_goods_categories(records : Enumerable, &)
preload_goods_categories(record, &)
preload_goods_categories
, truncate(*, cascade : Bool = false) truncate

Instance Method Detail

def created_at #

def description #

def id #

def name #

def path #

def updated_at #