Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/influxdb/arel/core_extensions.rb
Direct Known Subclasses
Instance Method Summary collapse
- #as(other) ⇒ Object
- #to_influxdb_arel ⇒ Object (also: #to_arel)
Instance Method Details
#as(other) ⇒ Object
34 35 36 |
# File 'lib/influxdb/arel/core_extensions.rb', line 34 def as(other) Influxdb::Arel::Nodes::As.new(to_influxdb_arel, other.to_influxdb_arel) end |
#to_influxdb_arel ⇒ Object Also known as: to_arel
28 29 30 |
# File 'lib/influxdb/arel/core_extensions.rb', line 28 def to_influxdb_arel Influxdb::Arel::Nodes::SqlLiteral.new(self) end |