class Sandstone::ORM::Base
- Sandstone::ORM::Base
- Reference
- Object
Overview
Sandstone::ORM::Base is the base class for your model objects.
Included Modules
- Sandstone::ORM::Associations
- Sandstone::ORM::Callbacks
- Sandstone::ORM::Fields
- Sandstone::ORM::Table
- Sandstone::ORM::Transactions
- Sandstone::ORM::Validators
Extended Modules
Defined in:
sandstone/base.crConstructors
- .new(args : Hash(String | Symbol, Array(JSON::Any) | Bool | Float64 | Hash(String, JSON::Any) | Int64 | String | Nil | Int32 | Float32))
- .new
Macro Summary
Instance methods inherited from module Sandstone::ORM::Validators
errors
errors,
errors=(errors)
errors=,
valid?
valid?
Instance methods inherited from module Sandstone::ORM::Transactions
create(args : Hash(Symbol | String, DB::Any))create(**args) create
Constructor Detail
def self.new(args : Hash(String | Symbol, Array(JSON::Any) | Bool | Float64 | Hash(String, JSON::Any) | Int64 | String | Nil | Int32 | Float32))
#