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.
461 462 463 464 |
# File 'lib/sql-parser/statement.rb', line 461 def initialize(column, value) @column = column @value = value end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
466 467 468 |
# File 'lib/sql-parser/statement.rb', line 466 def column @column end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
467 468 469 |
# File 'lib/sql-parser/statement.rb', line 467 def value @value end |