Clear::Model::Factory::PolymorphicFactory(T)
Inherits Clear::Model::Factory::Base < Reference < Object
Constructors
new(type_field : String, self_class : String)
SourceInstance methods
build(h : Hash(String, Clear::SQL::Any), cache : Clear::Model::QueryCache | Nil = nil, persisted : Bool = false, fetch_columns : Bool = false) : Clear::Model
Sourceself_class
Sourceself_class=(self_class : String)
Sourcetype_field
Sourcetype_field=(type_field : String)
Source