class GoodsInStoreQuery

Defined in:

queries/goods_in_store_query.cr

Instance Method Summary

Instance methods inherited from class GoodsInStore::BaseQuery

amount(value)
amount
amount
, clone clone, created_at(value)
created_at
created_at
, find(id) find, full_join_good full_join_good, full_join_store full_join_store, good(&) good, good_id(value)
good_id
good_id
, id(value)
id
id
, inner_join_good inner_join_good, inner_join_store inner_join_store, join_good join_good, join_store join_store, left_join_good left_join_good, left_join_store left_join_store, preload_good(preload_query : Good::BaseQuery)
preload_good
preload_good(&)
preload_good
, preload_store(preload_query : Store::BaseQuery)
preload_store
preload_store(&)
preload_store
, right_join_good right_join_good, right_join_store right_join_store, store(&) store, store_id(value)
store_id
store_id
, update(id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, good_id : Good::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, store_id : Store::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, amount : Int16 | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, where_good(assoc_query : Good::BaseQuery, auto_inner_join : Bool = true) where_good, where_store(assoc_query : Store::BaseQuery, auto_inner_join : Bool = true) where_store

Constructor methods inherited from class GoodsInStore::BaseQuery

all : self all

Class methods inherited from class GoodsInStore::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_good(records : Enumerable, preload_query)
preload_good(record, preload_query)
preload_good(records : Enumerable)
preload_good(record)
preload_good(records : Enumerable, &)
preload_good(record, &)
preload_good
, preload_store(records : Enumerable, preload_query)
preload_store(record, preload_query)
preload_store(records : Enumerable)
preload_store(record)
preload_store(records : Enumerable, &)
preload_store(record, &)
preload_store
, truncate(*, cascade : Bool = false) truncate

Instance Method Detail

def amount #

def created_at #

def good_id #

def id #

def store_id #

def updated_at #