Class: Influx::Flux::Sort
- Inherits:
-
Object
- Object
- Influx::Flux::Sort
- Defined in:
- lib/influx/flux/sort.rb
Instance Method Summary collapse
-
#initialize(columns:) ⇒ Sort
constructor
A new instance of Sort.
- #to_flux ⇒ Object
Constructor Details
Instance Method Details
#to_flux ⇒ Object
14 15 16 17 18 |
# File 'lib/influx/flux/sort.rb', line 14 def to_flux <<~FLUX.chomp |> sort(columns: #{@columns.to_json}) FLUX end |