class Article
- Article
- Marten::DB::Model
- Reference
- Object
Defined in:
models/article.crConstant Summary
-
FIELDS_ =
{"id" => {type: "big_int", kwargs: {primary_key: true, auto: true}}, "title" => {type: "string", kwargs: {max_size: 255}}, "content" => {type: "text", kwargs: {}}} of Nil => Nil
Instance Method Summary
- #comments
- #content : String | Nil | Nil
- #content!
- #content=(content : String | Nil | Nil)
- #content?
- #id : Int32 | Int64 | Nil | Nil
- #id!
- #id=(id : Int32 | Int64 | Nil | Nil)
- #id?
- #title : String | Nil | Nil
- #title!
- #title=(title : String | Nil | Nil)
- #title?