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.
449 450 451 452 |
# File 'lib/sql-parser/statement.rb', line 449 def initialize(column, value) @column = column @value = value end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
454 455 456 |
# File 'lib/sql-parser/statement.rb', line 454 def column @column end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
455 456 457 |
# File 'lib/sql-parser/statement.rb', line 455 def value @value end |