class Jennifer::QueryBuilder::Join

Direct Known Subclasses

Defined in:

jennifer/query_builder/join.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(table, on : Criteria, type, aliass = nil, relation = nil) #

[View source]
def self.new(table, on : Condition | LogicOperator, type, aliass = nil, relation = nil) #

[View source]
def self.new(table, on : Grouping, type, aliass = nil, relation = nil) #

[View source]

Instance Method Detail

def alias_tables(aliases) #

[View source]
def aliass : String? #

Table alias.


[View source]
def aliass=(aliass : String?) #

Table alias.


[View source]
def as_sql(generator) #

[View source]
def as_sql #

[View source]
def clone #

Returns a copy of self with all instance variables cloned.


[View source]
def filterable? #

[View source]
def has_alias? #

[View source]

Query ON condition.


[View source]
def on=(on : Condition | LogicOperator) #

Query ON condition.


[View source]
def relation : String? #

[View source]
def relation=(relation : String?) #

[View source]
def sql_args : Array(DBAny) #

[View source]
def table #

[View source]
def table=(table : String | Query) #

Table name to be joined or source query.


[View source]
def table_definition(generator) #

[View source]
def table_name(generator) : String #

[View source]
def type : Symbol #

Join type.


[View source]
def type=(type : Symbol) #

Join type.


[View source]
def type_definition #

[View source]