Class: Upkeep::SQLGlot::ColumnRef
- Inherits:
-
Data
- Object
- Data
- Upkeep::SQLGlot::ColumnRef
- Defined in:
- lib/upkeep/sqlglot.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Class Method Summary collapse
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
47 48 49 |
# File 'lib/upkeep/sqlglot.rb', line 47 def name @name end |
#table ⇒ Object (readonly)
Returns the value of attribute table
47 48 49 |
# File 'lib/upkeep/sqlglot.rb', line 47 def table @table end |
Class Method Details
.from_native(value) ⇒ Object
48 49 50 |
# File 'lib/upkeep/sqlglot.rb', line 48 def self.from_native(value) new(table: value["table"], name: value.fetch("name")) end |