class Clear::Model::Factory::PolymorphicFactory(T)
- Clear::Model::Factory::PolymorphicFactory(T)
- Reference
- Object
Included Modules
Defined in:
clear/model/factories/polymorphic_factory.crConstructors
Instance Method Summary
- #build(h : Hash(String, Clear::SQL::Any), cache : Clear::Model::QueryCache? = nil, persisted : Bool = false, fetch_columns : Bool = false) : Clear::Model
- #self_class : String
- #self_class=(self_class : String)
- #type_field : String
- #type_field=(type_field : String)
Instance methods inherited from module Clear::Model::Factory::Base
build(h : Hash(String, Clear::SQL::Any), cache : Clear::Model::QueryCache? = nil, persisted : Bool = false, fetch_columns : Bool = false) : Clear::Model
build
Constructor Detail
Instance Method Detail
def build(h : Hash(String, Clear::SQL::Any), cache : Clear::Model::QueryCache? = nil, persisted : Bool = false, fetch_columns : Bool = false) : Clear::Model
#