class MerchantQuery

Defined in:

queries/merchant_query.cr

Instance Method Summary

Instance methods inherited from class Merchant::BaseQuery

clone clone, created_at(value)
created_at
created_at
, description(value)
description
description
, find(id) find, full_join_user full_join_user, id(value)
id
id
, inner_join_user inner_join_user, join_user join_user, left_join_user left_join_user, name(value)
name
name
, preload_user(preload_query : User::BaseQuery)
preload_user
preload_user(&)
preload_user
, right_join_user right_join_user, update(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, name : String | Nothing = Nothing.new, description : String | Nothing = Nothing.new, user_id : User::PrimaryKeyType | Nothing = Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, user(&) user, user_id(value)
user_id
user_id
, where_user(assoc_query : User::BaseQuery, auto_inner_join : Bool = true) where_user

Class methods inherited from class Merchant::BaseQuery

all all, find(id) find, first first, first? first?, last last, last? last?, new_with_existing_query(query : Avram::QueryBuilder) new_with_existing_query, preload_user(records : Enumerable, preload_query)
preload_user(record, preload_query)
preload_user(records : Enumerable)
preload_user(record)
preload_user(records : Enumerable, &)
preload_user(record, &)
preload_user
, truncate truncate

Instance Method Detail

def created_at #

def description #

def id #

def name #

def updated_at #

def user_id #