class Page
- Page
- Reference
- Object
Included Modules
- DB::Mappable
- DB::Serializable
Defined in:
db.crConstant Summary
-
TABLE =
"pages"
Constructors
Class Method Summary
- .all(limit : Int32, offset : Int32) : Array(Page)
- .count : Int64
- .delete(id : String) : DB::ExecResult
- .find(id : String) : Page | Nil
- .from_rs(rs : DB::ResultSet)
- .update(id : String, **args) : DB::ExecResult
Instance Method Summary
- #content : String
- #content=(content : String)
- #created_at : Time
- #created_at=(created_at : Time)
- #id : String
- #id=(id : String)
- #title : String
- #title=(title : String)