LEVIATHAN v962456e · 962456eee1

atlantis · Orm

class Model

since 0.1.0-alpha.1linux

Fields

__isNew

bool __isNew

__ormRels

Array<string> __ormRels

__snap

Array<string | int | float | bool | None> __snap

Methods

__ormApplyMix

__ormApplyMix(Atlantis::Data::Row r, string table) -> void

__ormAutoPk

__ormAutoPk() -> bool

__ormCols

__ormCols() -> Array<string>

__ormColTypes

__ormColTypes() -> Array<string>

__ormEntity

__ormEntity() -> string

__ormIsSoftDelete

__ormIsSoftDelete() -> bool

__ormMarkDeleted

__ormMarkDeleted(int nowMs) -> void

__ormNotNullCols

__ormNotNullCols() -> Array<string>

__ormPath

__ormPath() -> Array<string>

__ormPk

__ormPk() -> string

__ormRelFill

__ormRelFill(string field, Array<Model> items) -> void

__ormRelReg

__ormRelReg(string field, string kind, string entity, string fk, string m2mA, string m2mB) -> void

__ormSeal

__ormSeal() -> void

__ormSetPk

__ormSetPk(int v) -> void

__ormTouchInsert

__ormTouchInsert(int nowMs) -> void

__ormTouchUpdate

__ormTouchUpdate(int nowMs) -> void

__ormVals

__ormVals() -> Array<string | int | float | bool | None>

allCols

allCols() -> Array<string>

allColTypes

allColTypes() -> Array<string>

allVals

allVals() -> Array<string | int | float | bool | None>

colVal

colVal(string col) -> string | int | float | bool | None

dirtyCols

dirtyCols() -> Array<string>

isDirty

isDirty() -> bool

isNew

isNew() -> bool

pkVal

pkVal() -> int