Class: SQLParser::Statement::UpdateColumn
- Defined in:
- lib/sql-parser/statement.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(column, value) ⇒ UpdateColumn
constructor
A new instance of UpdateColumn.
Methods inherited from Node
Constructor Details
#initialize(column, value) ⇒ UpdateColumn
Returns a new instance of UpdateColumn.
468 469 470 471 |
# File 'lib/sql-parser/statement.rb', line 468 def initialize(column, value) @column = column @value = value end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
473 474 475 |
# File 'lib/sql-parser/statement.rb', line 473 def column @column end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
474 475 476 |
# File 'lib/sql-parser/statement.rb', line 474 def value @value end |