class Jennifer::QueryBuilder::Join
- Jennifer::QueryBuilder::Join
- Reference
- Object
Direct Known Subclasses
Defined in:
jennifer/query_builder/join.crConstructors
- .new(table, on : Criteria, type, aliass = nil, relation = nil)
- .new(table, on : Condition | LogicOperator, type, aliass = nil, relation = nil)
- .new(table, on : Grouping, type, aliass = nil, relation = nil)
Instance Method Summary
- #alias_tables(aliases)
-
#aliass : String?
Table alias.
-
#aliass=(aliass : String?)
Table alias.
- #as_sql(generator)
- #as_sql
-
#clone
Returns a copy of
self
with all instance variables cloned. - #filterable?
- #has_alias?
-
#on : Condition | LogicOperator
Query
ON
condition. -
#on=(on : Condition | LogicOperator)
Query
ON
condition. - #relation : String?
- #relation=(relation : String?)
- #sql_args : Array(DBAny)
- #table
-
#table=(table : String | Query)
Table name to be joined or source query.
- #table_definition(generator)
- #table_name(generator) : String
-
#type : Symbol
Join type.
-
#type=(type : Symbol)
Join type.
- #type_definition