class QT::Zvterm
- QT::Zvterm
- Reference
- Object
Included Modules
- Crorm::Model
- DB::Mappable
- DB::Serializable
- DB::Serializable::NonStrict
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
data/term.crConstant Summary
-
EPOCH =
(Time.utc(2020, 1, 1, 0, 0, 0)).to_unix
-
SPLIT =
'ǀ'
Constructors
Class Method Summary
- .db
- .db_path
- .find_by_id(id, pkey = "id", db : DB_ = self.db) : self | Nil
- .find_by_id!(id, pkey = "id", db : DB_ = self.db) : self | Nil
- .from_rs(rs : DB::ResultSet)
- .get(*args_, args : Array | Nil = nil, db : DB_ = self.db, as as_type = self, &)
- .get!(*args_, args : Array | Nil = nil, db : DB_ = self.db, as as_type = self, &)
- .get_all(*args_, args : Array | Nil = nil, db : DB_ = self.db, as as_type = self, &)
- .get_all(*args_, args : Array | Nil = nil, db : DB_ = self.db, as as_type = self)
- .get_all_by_ids(ids : Enumerable, pkey : String = "id", db : DB_ = self.db, as as_type = self)
- .init_sql
- .mtime(rtime : Time = Time.utc)
- .schema
Instance Method Summary
- #_ctx : String
- #_ctx=(value : String)
- #_flag : Int32
- #_flag=(value : Int32)
- #_idx : Int32
- #_idx=(value : Int32)
- #_prev : Int32
- #_prev=(value : Int32)
- #dic : Int32
- #dic=(value : Int32)
- #dic=(dname : String)
- #id : Int32 | Nil
- #id! : Int32
- #id=(value : Int32 | Nil)
- #key : String
- #key=(value : String)
- #mtime : Int64
- #mtime=(value : Int64)
- #mtime=(time : Time)
- #prio : Int32
- #prio=(value : Int32)
- #ptag : String
- #ptag=(value : String)
- #ptag=(tags : Array(String))
- #tab : Int32
- #tab=(value : Int32)
- #to_json(jb : JSON::Builder)
- #uname : String
- #uname=(value : String)
- #utime
- #val : String
- #val=(value : String)
- #val=(vals : Array(String))
Constructor Detail
Class Method Detail
def self.get_all_by_ids(ids : Enumerable, pkey : String = "id", db : DB_ = self.db, as as_type = self)
#