class

CustomTaxon

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: taxon_ptr_id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: is_private, type: Bool, nilable: false, autogenerated: false, value: true, serialized: false, allow_blank: false}, {name: user_id, type: Int32, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}] of Nil

ユーザー定義のカスタム分類情報モデル

PRIMARY_KEY_NAME = :taxon_ptr_id

all_taxaの対応するレコードと同じID

PRIMARY_KEY_TYPE = UUID

all_taxaの対応するレコードと同じID

Constructors

new(taxon_ptr_id : UUID, is_private : Bool, user_id : Int32 | Nil)
new(rs : DB::ResultSet)

ユーザー定義のカスタム分類情報モデル

Class methods

column_names
columns
ensure_correct_column_mappings!
from_rs(rs : DB::ResultSet)

ユーザー定義のカスタム分類情報モデル

primary_key_name

all_taxaの対応するレコードと同じID

Source
schema_enforcer_validations
table_name

Instance methods

base_query_class

This makes it easy for plugins and extensions to use the base SaveOperation

delete_operation_class
id

If not using default 'id' primary key Then point 'id' to the primary key

Source
is_private
is_private?
save_operation_class
taxon_ptr_id
user_id

Macros

default_columns
Source

Nested types