module Orb::Relation
Included Modules
- DB::Mappable
- DB::Serializable
Defined in:
relation.cr
Constructors
Class Method Summary
Instance Method Summary
Macro Summary
Constructor Detail
def self.
new(rs : DB::ResultSet)
#
Class Method Detail
def self.
from_rs(rs : DB::ResultSet)
#
Instance Method Detail
Macro Detail
macro
attribute(name, type)
#
macro
belongs_to(name, relation, **opts)
#
macro
has_many(name, relation, **opts)
#
macro
has_one(name, relation, **opts)
#
macro
schema(table_name, &block)
#