Merge pull request #1203 from influxdata/reserved-keywords

Add list of reserved keywords in variables doc
pull/1204/head
pierwill 2020-07-13 10:52:46 -07:00 committed by GitHub
commit f4dfe2c45f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,13 @@ Create dashboard variables in the Data Explorer, from the Settings section, or i
There are multiple variable types that provide different means of populating your list of variable values.
_For information about variable types, see [Variable types](/v2.0/visualize-data/variables/variable-types/)._
{{% note %}}
##### Reserved keywords
The following names cannot be used as dashboard variables because they are reserved keywords in Flux:
`and`, `import`, `not`, `return`, `option`, `test`, `empty`, `in`, `or`, `package`, and `builtin`.
{{% /note %}}
## Create a variable in the Data Explorer
{{% note %}}