class

Page

Inherits DB::Mappable < DB::Serializable < Reference < Object

Constants

TABLE = "pages"

Constructors

create
Source
new(rs : DB::ResultSet)
Source

Class methods

all(limit : Int32, offset : Int32) : Array(Page)
Source
count
Source
delete(id : String) : DB::ExecResult
Source
find(id : String) : Page | Nil
Source
from_rs(rs : DB::ResultSet)
Source
update(id : String, **args) : DB::ExecResult
Source

Instance methods

content
Source
content=(content : String)
Source
created_at
Source
created_at=(created_at : Time)
Source
id=(id : String)
Source
title
Source
title=(title : String)
Source