Needs this useless field until composite primary key support lands in Avram. See: https://github.com/luckyframework/avram/issues/129
ChatParticipant
Inherits DB::Mappable / Avram::PrimaryKeyMethods / LuckyCache::Cachable / BaseModel / LuckyCache::Cachable / Avram::Model / Avram::SchemaEnforcer / Avram::Polymorphic / Avram::Associations / Avram::Associations::BelongsTo / Avram::Associations::HasOne / Avram::Associations::HasMany / Reference / Object
Constants
COLUMNS = [{name: id, type: Int64, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: chat_id, type: Chat::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: character_id, type: Character::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false}] of Nil
PRIMARY_KEY_NAME = :id
Needs this useless field until composite primary key support lands in Avram. See: https://github.com/luckyframework/avram/issues/129
PRIMARY_KEY_TYPE = Int64
Needs this useless field until composite primary key support lands in Avram. See: https://github.com/luckyframework/avram/issues/129
Constructors
new(id : Int64, chat_id : UUID, character_id : Int64)
new(__temp_169 : DB::ResultSet)
Class methods
column_names
columns
ensure_correct_column_mappings!
from_rs(__temp_169 : DB::ResultSet)
primary_key_name
Source
schema_enforcer_validations
table_name
Instance methods
base_query_class
This makes it easy for plugins and extensions to use the base SaveOperation
character
character!
character_count
character_id
character_id=(_character_id : Character::PrimaryKeyType::Lucky::ColumnType)
character_query
chat
chat!
chat_count
chat_id
chat_id=(_chat_id : Chat::PrimaryKeyType::Lucky::ColumnType)
chat_query
delete_operation_class
id
id=(_id : Int64::Lucky::ColumnType)
save_operation_class
Macros
default_columns
Source