primary_key_name
SourceAuthUser
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
ユーザーモデル Djangoで生成されたユーザーモデルをそのまま利用
Constants
ASSOCIATIONS = [] of Nil
ユーザーモデル Djangoで生成されたユーザーモデルをそのまま利用
COLUMNS = [{name: id, type: Int32, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: password, type: String, nilable: false, autogenerated: false, value: "",
serialized: false, allow_blank: true}, {name: last_login, type: Time, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: is_superuser, type: Bool, nilable: false, autogenerated: false, value: false,
serialized: false, allow_blank: false}, {name: username, type: String, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: first_name, type: String, nilable: false, autogenerated: false, value: "",
serialized: false, allow_blank: true}, {name: last_name, type: String, nilable: false, autogenerated: false, value: "",
serialized: false, allow_blank: true}, {name: email, type: String, nilable: false, autogenerated: false, value: "",
serialized: false, allow_blank: true}, {name: is_staff, type: Bool, nilable: false, autogenerated: false, value: false,
serialized: false, allow_blank: false}, {name: is_active, type: Bool, nilable: false, autogenerated: false, value: true,
serialized: false, allow_blank: false}, {name: date_joined, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}] of Nil
ユーザーモデル Djangoで生成されたユーザーモデルをそのまま利用
PRIMARY_KEY_NAME = :id
PRIMARY_KEY_TYPE = Int32
Constructors
new(rs : DB::ResultSet)
ユーザーモデル Djangoで生成されたユーザーモデルをそのまま利用
Class methods
column_names
columns
ensure_correct_column_mappings!
from_rs(rs : DB::ResultSet)
ユーザーモデル Djangoで生成されたユーザーモデルをそのまま利用
schema_enforcer_validations
table_name
Instance methods
base_query_class
This makes it easy for plugins and extensions to use the base SaveOperation
date_joined
delete_operation_class
email
first_name
id
is_active
is_active?
is_staff
is_staff?
is_superuser
is_superuser?
last_login
last_name
password
save_operation_class
username
Macros
default_columns
Source