Add more helper methods to KeyValue expression
Signed-off-by: davidarendsen <davidarendsen@hey.com>
This commit is contained in:
parent
32e77b4ccd
commit
1922f33c5c
9 changed files with 146 additions and 45 deletions
|
|
@ -43,7 +43,7 @@ final class QueryBuilderTest extends TestCase {
|
|||
],
|
||||
'test_measurement',
|
||||
'-360h',
|
||||
KeyValue::setEquals('user', 'username'),
|
||||
KeyValue::setEqualTo('user', 'username'),
|
||||
'from(bucket: "example_bucket") |> range(start: "-360h") |> filter(fn: (r) => r._measurement == "test_measurement") ' .
|
||||
'|> filter(fn: (r) => r.user == "username") '
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue