Class: Babik::QuerySet::Join::TargetTable
- Inherits:
-
Object
- Object
- Babik::QuerySet::Join::TargetTable
- Defined in:
- lib/babik/queryset/lib/join/join.rb
Overview
Target table of the join
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#table_alias ⇒ Object
readonly
Returns the value of attribute table_alias.
Instance Method Summary collapse
-
#initialize(name, table_alias, key) ⇒ TargetTable
constructor
Constructor.
Constructor Details
#initialize(name, table_alias, key) ⇒ TargetTable
Constructor
66 67 68 69 70 |
# File 'lib/babik/queryset/lib/join/join.rb', line 66 def initialize(name, table_alias, key) @name = name @table_alias = table_alias @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
61 62 63 |
# File 'lib/babik/queryset/lib/join/join.rb', line 61 def key @key end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
61 62 63 |
# File 'lib/babik/queryset/lib/join/join.rb', line 61 def name @name end |
#table_alias ⇒ Object (readonly)
Returns the value of attribute table_alias.
61 62 63 |
# File 'lib/babik/queryset/lib/join/join.rb', line 61 def table_alias @table_alias end |