class Blogging::Comment
- Blogging::Comment
- Marten::DB::Model
- Reference
- Object
Defined in:
apps/blogging/models/comment.crConstant Summary
-
FIELDS_ =
{"id" => {type: "big_int", kwargs: {primary_key: true, auto: true}}, "body" => {type: "text", kwargs: {}}, "article" => {type: "many_to_one", kwargs: {to: Blogging::Article, related: :comments}}, "author" => {type: "many_to_one", kwargs: {to: Profiles::Profile}}, "created_at" => {type: "date_time", kwargs: {auto_now_add: true}}, "updated_at" => {type: "date_time", kwargs: {auto_now: true}}} of Nil => Nil
Instance Method Summary
- #article : Blogging::Article | Nil
- #article! : Blogging::Article
- #article=(related_object : Blogging::Article | Nil)
- #article?
- #article_id : Marten::DB::Field::ReferenceDBTypes | Nil
- #article_id!
- #article_id=(related_id : Marten::DB::Field::ReferenceDBTypes | Nil)
- #article_id?
- #author : Profiles::Profile | Nil
- #author! : Profiles::Profile
- #author=(related_object : Profiles::Profile | Nil)
- #author?
- #author_id : Marten::DB::Field::ReferenceDBTypes | Nil
- #author_id!
- #author_id=(related_id : Marten::DB::Field::ReferenceDBTypes | Nil)
- #author_id?
- #body : String | Nil | Nil
- #body!
- #body=(body : String | Nil | Nil)
- #body?
- #created_at : Time | Nil | Nil
- #created_at!
- #created_at=(created_at : Time | Nil | Nil)
- #created_at?
- #id : Int32 | Int64 | Nil | Nil
- #id!
- #id=(id : Int32 | Int64 | Nil | Nil)
- #id?
- #rendered_body
- #updated_at : Time | Nil | Nil
- #updated_at!
- #updated_at=(updated_at : Time | Nil | Nil)
- #updated_at?