class Clear::Model::Factory::PolymorphicFactory(T)

Included Modules

Defined in:

clear/model/factories/polymorphic_factory.cr

Constructors

Instance Method Summary

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

def self.new(type_field, self_class) #

[View source]

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 #

[View source]
def self_class : String #

[View source]
def self_class=(self_class : String) #

[View source]
def type_field : String #

[View source]
def type_field=(type_field : String) #

[View source]