added aliases to all flux function docs for new structure
parent
9ea5107264
commit
8ee9d08805
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: Flux data scripting language
|
title: Flux data scripting language
|
||||||
description: Reference articles for Flux functions and the Flux language specification.
|
description: Reference articles for Flux functions and the Flux language specification.
|
||||||
|
aliases:
|
||||||
|
- /v2.0/reference/flux/
|
||||||
influxdb/v2.0/tags: [flux]
|
influxdb/v2.0/tags: [flux]
|
||||||
menu:
|
menu:
|
||||||
influxdb_2_0_ref:
|
influxdb_2_0_ref:
|
||||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
||||||
parent: Flux language
|
parent: Flux language
|
||||||
weight: 103
|
weight: 103
|
||||||
influxdb/v2.0/tags: [flux]
|
influxdb/v2.0/tags: [flux]
|
||||||
|
aliases:
|
||||||
|
- /v2.0/reference/flux/language/
|
||||||
---
|
---
|
||||||
|
|
||||||
The following document specifies the Flux language and query execution.
|
The following document specifies the Flux language and query execution.
|
||||||
|
|
|
@ -6,6 +6,8 @@ menu:
|
||||||
parent: Flux specification
|
parent: Flux specification
|
||||||
name: Assignment and scope
|
name: Assignment and scope
|
||||||
weight: 202
|
weight: 202
|
||||||
|
aliases:
|
||||||
|
- /v2.0/reference/flux/language/assignment-scope/
|
||||||
---
|
---
|
||||||
|
|
||||||
An assignment binds an identifier to a variable, option, or function.
|
An assignment binds an identifier to a variable, option, or function.
|
||||||
|
|
|
@ -6,6 +6,8 @@ menu:
|
||||||
parent: Flux specification
|
parent: Flux specification
|
||||||
name: Blocks
|
name: Blocks
|
||||||
weight: 203
|
weight: 203
|
||||||
|
aliases:
|
||||||
|
- /v2.0/reference/flux/language/blocks/
|
||||||
---
|
---
|
||||||
|
|
||||||
A _block_ is a possibly empty sequence of statements within matching braces (`{}`).
|
A _block_ is a possibly empty sequence of statements within matching braces (`{}`).
|
||||||
|
|
|
@ -6,6 +6,8 @@ menu:
|
||||||
name: Data model
|
name: Data model
|
||||||
parent: Flux specification
|
parent: Flux specification
|
||||||
weight: 201
|
weight: 201
|
||||||
|
aliases:
|
||||||
|
- /v2.0/reference/flux/language/data-model/
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
|
|
|
@ -6,6 +6,8 @@ menu:
|
||||||
parent: Flux specification
|
parent: Flux specification
|
||||||
name: Expressions
|
name: Expressions
|
||||||
weight: 204
|
weight: 204
|
||||||
|
aliases:
|
||||||
|
- /v2.0/reference/flux/language/expressions
|
||||||
---
|
---
|
||||||
|
|
||||||
An _expression_ specifies the computation of a value by applying the operators and functions to operands.
|
An _expression_ specifies the computation of a value by applying the operators and functions to operands.
|
||||||
|
|
|
@ -6,6 +6,8 @@ menu:
|
||||||
parent: Flux specification
|
parent: Flux specification
|
||||||
name: Lexical elements
|
name: Lexical elements
|
||||||
weight: 205
|
weight: 205
|
||||||
|
aliases:
|
||||||
|
- /v2.0/reference/flux/language/lexical-elements
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
|
@ -288,15 +290,16 @@ Within the quotes any character may appear except an unescaped double quote.
|
||||||
String literals support several escape sequences.
|
String literals support several escape sequences.
|
||||||
|
|
||||||
```
|
```
|
||||||
\n U+000A line feed or newline
|
|
||||||
\r U+000D carriage return
|
U+000A line feed or newline
|
||||||
\t U+0009 horizontal tab
|
U+000D carriage return
|
||||||
|
U+0009 horizontal tab
|
||||||
\" U+0022 double quote
|
\" U+0022 double quote
|
||||||
\\ U+005C backslash
|
\ U+005C backslash
|
||||||
\${ U+0024 U+007B dollar sign and opening curly bracket
|
\${ U+0024 U+007B dollar sign and opening curly bracket
|
||||||
```
|
```
|
||||||
|
|
||||||
Additionally, any byte value may be specified via a hex encoding using `\x` as the prefix.
|
Additionally, any byte value may be specified via a hex encoding using ` |