Class: AlgebraDB::Build::Column
- Inherits:
-
Struct
- Object
- Struct
- AlgebraDB::Build::Column
- Defined in:
- lib/algebra_db/build/column.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#table ⇒ Object
Returns the value of attribute table.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
3 4 5 |
# File 'lib/algebra_db/build/column.rb', line 3 def column @column end |
#table ⇒ Object
Returns the value of attribute table
3 4 5 |
# File 'lib/algebra_db/build/column.rb', line 3 def table @table end |
Instance Method Details
#default_select_item_alias ⇒ Object
8 9 10 |
# File 'lib/algebra_db/build/column.rb', line 8 def default_select_item_alias column end |
#render_syntax(builder) ⇒ Object
4 5 6 |
# File 'lib/algebra_db/build/column.rb', line 4 def render_syntax(builder) builder.text(%("#{table}"."#{column}")) end |