QT::Zvterm
Inherits JSON::Serializable < DB::Serializable::NonStrict < DB::Mappable < DB::Serializable < Crorm::Model < Reference < Object
Constants
EPOCH = (Time.utc(2020, 1, 1, 0, 0, 0)).to_unix
SPLIT = 'ǀ'
Constructors
new(rs : DB::ResultSet)
new(pull : JSON::PullParser)
new
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Class methods
db
db_path
Sourcefind_by_id(id, pkey = "id", db : DB_ = self.db) : self | Nil
Sourcefind_by_id!(id, pkey = "id", db : DB_ = self.db) : self | Nil
Sourcefrom_rs(rs : DB::ResultSet)
init_sql
Sourceschema
Instance methods
_ctx
Source_flag
Source_idx
Source_prev
Sourcedic
Sourceid
Sourceid!
Sourcekey
Sourcemtime
Sourceprio
Sourceptag
Sourcetab
Sourceto_json(jb : JSON::Builder)
Sourceuname
Sourceutime
Sourceval
Source