Skip to content

Commit 4941aec

Browse files
authored
Updates SQL reference (#5886)
* sql reference updates * updated emphasis markers to pass lint
1 parent 242490d commit 4941aec

File tree

26 files changed

+1334
-345
lines changed

26 files changed

+1334
-345
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: SQL binary string functions
3+
list_title: Binary string functions
4+
description: >
5+
Use binary string functions to encode and decode binary string values in
6+
SQL queries.
7+
menu:
8+
influxdb3_cloud_dedicated:
9+
name: Binary string
10+
parent: sql-functions
11+
weight: 308
12+
13+
source: /content/shared/sql-reference/functions/binary-string.md
14+
---
15+
16+
<!--
17+
The content of this page is at
18+
// SOURCE /content/shared/sql-reference/functions/binary-string.md
19+
-->
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: SQL hashing functions
3+
list_title: Hashing functions
4+
description: >
5+
Use hashing functions to hash string values in SQL queries using established
6+
hashing algorithms.
7+
menu:
8+
influxdb3_cloud_dedicated:
9+
name: Hashing
10+
parent: sql-functions
11+
weight: 309
12+
13+
source: /shared/sql-reference/functions/hashing.md
14+
---
15+
16+
<!--
17+
The content for this page is at
18+
// SOURCE /content/shared/sql-reference/functions/hashing.md
19+
-->

content/influxdb3/cloud-dedicated/reference/sql/operators/comparison.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,21 @@ menu:
1010
parent: Operators
1111
weight: 302
1212
list_code_example: |
13-
| Operator | Meaning | Example |
14-
| :------: | :------------------------------------------------------- | :---------------- |
15-
| `=` | Equal to | `123 = 123` |
16-
| `<>` | Not equal to | `123 <> 456` |
17-
| `!=` | Not equal to | `123 != 456` |
18-
| `>` | Greater than | `3 > 2` |
19-
| `>=` | Greater than or equal to | `3 >= 2` |
20-
| `<` | Less than | `1 < 2` |
21-
| `<=` | Less than or equal to | `1 <= 2` |
22-
| `~` | Matches a regular expression | `'abc' ~ 'a.*'` |
23-
| `~*` | Matches a regular expression _(case-insensitive)_ | `'Abc' ~* 'A.*'` |
24-
| `!~` | Does not match a regular expression | `'abc' !~ 'd.*'` |
25-
| `!~*` | Does not match a regular expression _(case-insensitive)_ | `'Abc' !~* 'a.*'` |
13+
| Operator | Meaning | Example |
14+
| :--------------------: | :------------------------------------------------------- | :------------------------- |
15+
| `=` | Equal to | `123 = 123` |
16+
| `<>` | Not equal to | `123 <> 456` |
17+
| `!=` | Not equal to | `123 != 456` |
18+
| `>` | Greater than | `3 > 2` |
19+
| `>=` | Greater than or equal to | `3 >= 2` |
20+
| `<` | Less than | `1 < 2` |
21+
| `<=` | Less than or equal to | `1 <= 2` |
22+
| `IS DISTINCT FROM` | Is distinct from | `0 IS DISTINCT FROM 1` |
23+
| `IS NOT DISTINCT FROM` | Is not distinct from | `0 IS NOT DISTINCT FROM 1` |
24+
| `~` | Matches a regular expression | `'abc' ~ 'a.*'` |
25+
| `~*` | Matches a regular expression _(case-insensitive)_ | `'Abc' ~* 'A.*'` |
26+
| `!~` | Does not match a regular expression | `'abc' !~ 'd.*'` |
27+
| `!~*` | Does not match a regular expression _(case-insensitive)_ | `'Abc' !~* 'a.*'` |
2628
2729
source: /content/shared/sql-reference/operators/comparison.md
2830
---
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: SQL binary string functions
3+
list_title: Binary string functions
4+
description: >
5+
Use binary string functions to encode and decode binary string values in
6+
SQL queries.
7+
menu:
8+
influxdb3_cloud_serverless:
9+
name: Binary string
10+
parent: sql-functions
11+
weight: 308
12+
13+
source: /content/shared/sql-reference/functions/binary-string.md
14+
---
15+
16+
<!--
17+
The content of this page is at
18+
// SOURCE /content/shared/sql-reference/functions/binary-string.md
19+
-->
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: SQL hashing functions
3+
list_title: Hashing functions
4+
description: >
5+
Use hashing functions to hash string values in SQL queries using established
6+
hashing algorithms.
7+
menu:
8+
influxdb3_cloud_serverless:
9+
name: Hashing
10+
parent: sql-functions
11+
weight: 309
12+
13+
source: /shared/sql-reference/functions/hashing.md
14+
---
15+
16+
<!--
17+
The content for this page is at
18+
// SOURCE /content/shared/sql-reference/functions/hashing.md
19+
-->

content/influxdb3/cloud-serverless/reference/sql/operators/comparison.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,21 @@ menu:
1010
parent: Operators
1111
weight: 302
1212
list_code_example: |
13-
| Operator | Meaning | Example |
14-
| :------: | :------------------------------------------------------- | :---------------- |
15-
| `=` | Equal to | `123 = 123` |
16-
| `<>` | Not equal to | `123 <> 456` |
17-
| `!=` | Not equal to | `123 != 456` |
18-
| `>` | Greater than | `3 > 2` |
19-
| `>=` | Greater than or equal to | `3 >= 2` |
20-
| `<` | Less than | `1 < 2` |
21-
| `<=` | Less than or equal to | `1 <= 2` |
22-
| `~` | Matches a regular expression | `'abc' ~ 'a.*'` |
23-
| `~*` | Matches a regular expression _(case-insensitive)_ | `'Abc' ~* 'A.*'` |
24-
| `!~` | Does not match a regular expression | `'abc' !~ 'd.*'` |
25-
| `!~*` | Does not match a regular expression _(case-insensitive)_ | `'Abc' !~* 'a.*'` |
13+
| Operator | Meaning | Example |
14+
| :--------------------: | :------------------------------------------------------- | :------------------------- |
15+
| `=` | Equal to | `123 = 123` |
16+
| `<>` | Not equal to | `123 <> 456` |
17+
| `!=` | Not equal to | `123 != 456` |
18+
| `>` | Greater than | `3 > 2` |
19+
| `>=` | Greater than or equal to | `3 >= 2` |
20+
| `<` | Less than | `1 < 2` |
21+
| `<=` | Less than or equal to | `1 <= 2` |
22+
| `IS DISTINCT FROM` | Is distinct from | `0 IS DISTINCT FROM 1` |
23+
| `IS NOT DISTINCT FROM` | Is not distinct from | `0 IS NOT DISTINCT FROM 1` |
24+
| `~` | Matches a regular expression | `'abc' ~ 'a.*'` |
25+
| `~*` | Matches a regular expression _(case-insensitive)_ | `'Abc' ~* 'A.*'` |
26+
| `!~` | Does not match a regular expression | `'abc' !~ 'd.*'` |
27+
| `!~*` | Does not match a regular expression _(case-insensitive)_ | `'Abc' !~* 'a.*'` |
2628
2729
source: /content/shared/sql-reference/operators/comparison.md
2830
---
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: SQL binary string functions
3+
list_title: Binary string functions
4+
description: >
5+
Use binary string functions to encode and decode binary string values in
6+
SQL queries.
7+
menu:
8+
influxdb3_clustered:
9+
name: Binary string
10+
parent: sql-functions
11+
weight: 308
12+
13+
source: /content/shared/sql-reference/functions/binary-string.md
14+
---
15+
16+
<!--
17+
The content of this page is at
18+
// SOURCE /content/shared/sql-reference/functions/binary-string.md
19+
-->
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: SQL hashing functions
3+
list_title: Hashing functions
4+
description: >
5+
Use hashing functions to hash string values in SQL queries using established
6+
hashing algorithms.
7+
menu:
8+
influxdb3_clustered:
9+
name: Hashing
10+
parent: sql-functions
11+
weight: 309
12+
13+
source: /shared/sql-reference/functions/hashing.md
14+
---
15+
16+
<!--
17+
The content for this page is at
18+
// SOURCE /content/shared/sql-reference/functions/hashing.md
19+
-->

content/influxdb3/clustered/reference/sql/operators/comparison.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,21 @@ menu:
1010
parent: Operators
1111
weight: 302
1212
list_code_example: |
13-
| Operator | Meaning | Example |
14-
| :------: | :------------------------------------------------------- | :---------------- |
15-
| `=` | Equal to | `123 = 123` |
16-
| `<>` | Not equal to | `123 <> 456` |
17-
| `!=` | Not equal to | `123 != 456` |
18-
| `>` | Greater than | `3 > 2` |
19-
| `>=` | Greater than or equal to | `3 >= 2` |
20-
| `<` | Less than | `1 < 2` |
21-
| `<=` | Less than or equal to | `1 <= 2` |
22-
| `~` | Matches a regular expression | `'abc' ~ 'a.*'` |
23-
| `~*` | Matches a regular expression _(case-insensitive)_ | `'Abc' ~* 'A.*'` |
24-
| `!~` | Does not match a regular expression | `'abc' !~ 'd.*'` |
25-
| `!~*` | Does not match a regular expression _(case-insensitive)_ | `'Abc' !~* 'a.*'` |
13+
| Operator | Meaning | Example |
14+
| :--------------------: | :------------------------------------------------------- | :------------------------- |
15+
| `=` | Equal to | `123 = 123` |
16+
| `<>` | Not equal to | `123 <> 456` |
17+
| `!=` | Not equal to | `123 != 456` |
18+
| `>` | Greater than | `3 > 2` |
19+
| `>=` | Greater than or equal to | `3 >= 2` |
20+
| `<` | Less than | `1 < 2` |
21+
| `<=` | Less than or equal to | `1 <= 2` |
22+
| `IS DISTINCT FROM` | Is distinct from | `0 IS DISTINCT FROM 1` |
23+
| `IS NOT DISTINCT FROM` | Is not distinct from | `0 IS NOT DISTINCT FROM 1` |
24+
| `~` | Matches a regular expression | `'abc' ~ 'a.*'` |
25+
| `~*` | Matches a regular expression _(case-insensitive)_ | `'Abc' ~* 'A.*'` |
26+
| `!~` | Does not match a regular expression | `'abc' !~ 'd.*'` |
27+
| `!~*` | Does not match a regular expression _(case-insensitive)_ | `'Abc' !~* 'a.*'` |
2628
2729
source: /content/shared/sql-reference/operators/comparison.md
2830
---
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: SQL binary string functions
3+
list_title: Binary string functions
4+
description: >
5+
Use binary string functions to encode and decode binary string values in
6+
SQL queries.
7+
menu:
8+
influxdb3_core:
9+
name: Binary string
10+
parent: sql-functions
11+
weight: 308
12+
13+
source: /content/shared/sql-reference/functions/binary-string.md
14+
---
15+
16+
<!--
17+
The content of this page is at
18+
// SOURCE /content/shared/sql-reference/functions/binary-string.md
19+
-->

0 commit comments

Comments
 (0)