Update query builder metaqueries for Flux 0.7.2
parent
b041e1abff
commit
8f468895f1
|
@ -91,9 +91,9 @@ function findMeasurementsFlux(
|
|||
}
|
||||
|
||||
query += `
|
||||
|> group(by: ["_measurement"])
|
||||
|> group(columns: ["_measurement"])
|
||||
|> distinct(column: "_measurement")
|
||||
|> group(none: true)
|
||||
|> group()
|
||||
|> sort(columns: ["_measurement"])
|
||||
|> limit(n: ${LIMIT})`
|
||||
|
||||
|
@ -120,9 +120,9 @@ function findFieldsFlux(
|
|||
}
|
||||
|
||||
query += `
|
||||
|> group(by: ["_field"])
|
||||
|> group(columns: ["_field"])
|
||||
|> distinct(column: "_field")
|
||||
|> group(none: true)
|
||||
|> group()
|
||||
|> sort(columns: ["_field"])
|
||||
|> limit(n: ${LIMIT})`
|
||||
|
||||
|
|
Loading…
Reference in New Issue