primary_key_name
SourceCollectionSetting
Inherits Avram::PrimaryKeyMethods < DB::Mappable < DB::Serializable < LuckyCache::Cachable < BaseModel < DB::Mappable < DB::Serializable < LuckyCache::Cachable < Avram::Model < Avram::SchemaEnforcer < Avram::Polymorphic < Avram::Associations < Avram::Associations::BelongsTo < Avram::Associations::HasOne < Avram::Associations::HasMany < Reference < Object
コレクション設定モデル
Constants
ASSOCIATIONS = [] of Nil
コレクション設定モデル
COLUMNS = [{name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: user_id, type: Int32, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collection_name, type: String, nilable: false, autogenerated: false, value: "",
serialized: false, allow_blank: true}, {name: institution_code, type: String, nilable: false, autogenerated: false, value: "",
serialized: false, allow_blank: true}, {name: latest_collection_code, type: Int32, nilable: false, autogenerated: false, value: 0,
serialized: false, allow_blank: false}, {name: note, type: String, nilable: false, autogenerated: false, value: "",
serialized: false, allow_blank: true}] of Nil
コレクション設定モデル
PRIMARY_KEY_NAME = :id
PRIMARY_KEY_TYPE = UUID
Constructors
new(rs : DB::ResultSet)
コレクション設定モデル
Class methods
column_names
columns
ensure_correct_column_mappings!
from_rs(rs : DB::ResultSet)
コレクション設定モデル
schema_enforcer_validations
table_name
Instance methods
base_query_class
This makes it easy for plugins and extensions to use the base SaveOperation
collection_name
created_at
delete_operation_class
id
institution_code
latest_collection_code
note
save_operation_class
user_id
Macros
default_columns
Source