class Langery::DB::Word

Included Modules

Defined in:

langery/db.cr

Constructors

Instance Method Summary

Instance methods inherited from module Langery::DB::Sectionable

sections : Array(String) sections

Constructor Detail

def self.cascade_delete(id : String, data : Data) : Word #

[View source]
def self.new(pull : JSON::PullParser) #

def self.new(*, meanings : Array(String) = [] of String, sections : Array(String) = [] of String, created_at : Time | Nil = nil, updated_at : Time | Nil = nil, hash : String | Nil = nil) #

[View source]

Instance Method Detail

def created_at : Time #

def id : String #

def meanings : Array(String) #

[View source]
def touch! #

[View source]
def updated_at : Time #