added bucket name to contains function example
parent
0d9196c391
commit
dac86cda57
|
@ -37,7 +37,7 @@ _**Data type:** Array of Booleans | Integers | UIntegers | Floats | Strings | Ti
|
||||||
```js
|
```js
|
||||||
fields = ["load1", "load5", "load15"]
|
fields = ["load1", "load5", "load15"]
|
||||||
|
|
||||||
from(bucket)
|
from(bucket: "example-bucket")
|
||||||
|> range(start:start, stop: stop)
|
|> range(start:start, stop: stop)
|
||||||
|> filter(fn: (r) =>
|
|> filter(fn: (r) =>
|
||||||
r._measurement == "system" and
|
r._measurement == "system" and
|
||||||
|
|
Loading…
Reference in New Issue