class Page

Included Modules

Defined in:

db.cr

Constant Summary

TABLE = "pages"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.create(**args) : Page #

[View source]
def self.new(rs : DB::ResultSet) #

[View source]

Class Method Detail

def self.all(limit : Int32, offset : Int32) : Array(Page) #

[View source]
def self.count : Int64 #

[View source]
def self.delete(id : String) : DB::ExecResult #

[View source]
def self.find(id : String) : Page | Nil #

[View source]
def self.from_rs(rs : DB::ResultSet) #

[View source]
def self.update(id : String, **args) : DB::ExecResult #

[View source]

Instance Method Detail

def content : String #

[View source]
def content=(content : String) #

[View source]
def created_at : Time #

[View source]
def created_at=(created_at : Time) #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]