abstract class PolymorphicJoin::SqlClause

Defined in:

queries/mixins/polymorphic_join.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(from : Symbol, to : Symbol, polymorphic_type : Symbol, polymorphic_value : String | Nil = nil, primary_key : Symbol | Nil = nil, comparison : String | Nil = "=", using : Array(Symbol) = [] of Symbol) #

[View source]

Instance Method Detail

def connect_by_type(table_name : String) #

[View source]
def to_column #

[View source]