Update query builder metaqueries for Flux 0.7.2

pull/10616/head
Christopher Henn 2018-12-05 14:00:21 -08:00 committed by Chris Henn
parent b041e1abff
commit 8f468895f1
1 changed files with 4 additions and 4 deletions

View File

@ -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})`