Class: Rooq::DSL::Join
- Inherits:
-
Object
- Object
- Rooq::DSL::Join
- Defined in:
- lib/rooq/dsl/select_query.rb
Instance Attribute Summary collapse
-
#condition ⇒ Object
readonly
Returns the value of attribute condition.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
-
#table_alias ⇒ Object
readonly
Returns the value of attribute table_alias.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#using_columns ⇒ Object
readonly
Returns the value of attribute using_columns.
Instance Method Summary collapse
-
#initialize(type, table, condition, table_alias = nil, using: nil) ⇒ Join
constructor
A new instance of Join.
Constructor Details
#initialize(type, table, condition, table_alias = nil, using: nil) ⇒ Join
Returns a new instance of Join.
180 181 182 183 184 185 186 187 |
# File 'lib/rooq/dsl/select_query.rb', line 180 def initialize(type, table, condition, table_alias = nil, using: nil) @type = type @table = table @condition = condition @table_alias = table_alias @using_columns = using&.freeze freeze end |
Instance Attribute Details
#condition ⇒ Object (readonly)
Returns the value of attribute condition.
178 179 180 |
# File 'lib/rooq/dsl/select_query.rb', line 178 def condition @condition end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
178 179 180 |
# File 'lib/rooq/dsl/select_query.rb', line 178 def table @table end |
#table_alias ⇒ Object (readonly)
Returns the value of attribute table_alias.
178 179 180 |
# File 'lib/rooq/dsl/select_query.rb', line 178 def table_alias @table_alias end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
178 179 180 |
# File 'lib/rooq/dsl/select_query.rb', line 178 def type @type end |
#using_columns ⇒ Object (readonly)
Returns the value of attribute using_columns.
178 179 180 |
# File 'lib/rooq/dsl/select_query.rb', line 178 def using_columns @using_columns end |