Skip to content

Commit ba58ef6

Browse files
authored
Merge branch 'main' into aql-timezone
2 parents c507d02 + 5f1326d commit ba58ef6

File tree

11 files changed

+112
-15
lines changed

11 files changed

+112
-15
lines changed

site/content/3.10/develop/integrations/kafka-connect-arangodb-sink-connector/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ See [SSL configuration](configuration.md#ssl) for further options.
253253

254254
## Limitations
255255

256-
- The `VST` communication protocol (`connection.protocol=VST`) is currently not working (DE-619)
257256
- Record values are required to be object-like structures (DE-644)
258257
- Auto-creation of ArangoDB collection is not supported (DE-653)
259258
- `ssl.cert.value` does not support multiple certificates (DE-655)

site/content/3.11/develop/integrations/kafka-connect-arangodb-sink-connector/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ See [SSL configuration](configuration.md#ssl) for further options.
253253

254254
## Limitations
255255

256-
- The `VST` communication protocol (`connection.protocol=VST`) is currently not working (DE-619)
257256
- Record values are required to be object-like structures (DE-644)
258257
- Auto-creation of ArangoDB collection is not supported (DE-653)
259258
- `ssl.cert.value` does not support multiple certificates (DE-655)

site/content/3.12/aql/functions/array.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ RETURN APPEND([ 1, 2, 3 ], [ 3, 4, 5, 2, 9 ], true)
6565

6666
## CONTAINS_ARRAY()
6767

68-
This is an alias for [POSITION()](#position).
68+
This is an alias for [`POSITION()`](#position).
6969

7070
## COUNT()
7171

72-
This is an alias for [LENGTH()](#length).
72+
This is an alias for [`LENGTH()`](#length).
7373

7474
## COUNT_DISTINCT()
7575

@@ -100,7 +100,7 @@ RETURN COUNT_DISTINCT([ "yes", "no", "yes", "sauron", "no", "yes" ])
100100

101101
## COUNT_UNIQUE()
102102

103-
This is an alias for [COUNT_DISTINCT()](#count_distinct).
103+
This is an alias for [`COUNT_DISTINCT()`](#count_distinct).
104104

105105
## FIRST()
106106

site/content/3.12/aql/functions/document-object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ FOR attributeArray IN attributesPerDocument
7575

7676
## COUNT()
7777

78-
This is an alias for [LENGTH()](#length).
78+
This is an alias for [`LENGTH()`](#length).
7979

8080
## HAS()
8181

site/content/3.12/aql/functions/miscellaneous.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Return an array of collections.
139139

140140
### COUNT()
141141

142-
This is an alias for [LENGTH()](#length).
142+
This is an alias for [`LENGTH()`](#length).
143143

144144
### CURRENT_DATABASE()
145145

site/content/3.12/aql/functions/numeric.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ AVERAGE( [ 999, 80, 4, 4, 4, 3, 3, 3 ] ) // 137.5
101101

102102
## AVG()
103103

104-
This is an alias for [AVERAGE()](#average).
104+
This is an alias for [`AVERAGE()`](#average).
105105

106106
## CEIL()
107107

@@ -577,6 +577,10 @@ Result:
577577
]
578578
```
579579

580+
## RANDOM()
581+
582+
This is an alias for [`RAND()`](#rand).
583+
580584
## RANGE()
581585

582586
`RANGE(start, stop, step) → numArray`
@@ -704,7 +708,7 @@ STDDEV_SAMPLE( [ 1, 3, 6, 5, 2 ] ) // 2.0736441353327724
704708

705709
## STDDEV()
706710

707-
This is an alias for [STDDEV_POPULATION()](#stddev_population).
711+
This is an alias for [`STDDEV_POPULATION()`](#stddev_population).
708712

709713
## SUM()
710714

@@ -769,4 +773,4 @@ VARIANCE_SAMPLE( [ 1, 3, 6, 5, 2 ] ) // 4.300000000000001
769773

770774
## VARIANCE()
771775

772-
This is an alias for [VARIANCE_POPULATION()](#variance_population).
776+
This is an alias for [`VARIANCE_POPULATION()`](#variance_population).

site/content/3.12/aql/functions/string.md

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ RETURN CONTAINS("foobarbaz", "horse", true)
281281

282282
## COUNT()
283283

284-
This is an alias for [LENGTH()](#length).
284+
This is an alias for [`LENGTH()`](#length).
285285

286286
## CRC32()
287287

@@ -1233,6 +1233,45 @@ description: ''
12331233
RETURN REGEX_REPLACE("An Avocado", "a", "_", true)
12341234
```
12351235

1236+
## REPEAT()
1237+
1238+
`REPEAT(value, count, separator) → repeatedString`
1239+
1240+
Repeat the input as many times as specified, optionally with a separator.
1241+
1242+
- **value** (string): a string
1243+
- **count** (number): how often to repeat the `value`
1244+
- **separator** (string, *optional*): a string to place between repetitions
1245+
- returns **repeatedString** (string\|null): a new string with the `value`
1246+
repeated `count` times, or `null` and a warning if the output string exceeds
1247+
the limit of 16 MB
1248+
1249+
**Examples**
1250+
1251+
```aql
1252+
---
1253+
name: aqlRepeat_1
1254+
description: ''
1255+
---
1256+
RETURN REPEAT("foo", 3)
1257+
```
1258+
1259+
```aql
1260+
---
1261+
name: aqlRepeat_2
1262+
description: ''
1263+
---
1264+
RETURN REPEAT("foo", 3, " | ")
1265+
```
1266+
1267+
```aql
1268+
---
1269+
name: aqlRepeat_3
1270+
description: ''
1271+
---
1272+
RETURN REPEAT(5, 5)
1273+
```
1274+
12361275
## REVERSE()
12371276

12381277
`REVERSE(value) → reversedString`
@@ -1892,6 +1931,28 @@ RETURN [
18921931
]
18931932
```
18941933

1934+
## TO_CHAR()
1935+
1936+
`TO_CHAR(codepoint) → character`
1937+
1938+
Return the character with the specified codepoint.
1939+
1940+
- **codepoint** (number): a Unicode codepoint
1941+
- returns **character** (string): the character with the specified codepoint
1942+
1943+
**Examples**
1944+
1945+
```aql
1946+
---
1947+
name: aqlToChar
1948+
description: ''
1949+
---
1950+
RETURN [
1951+
TO_CHAR(216),
1952+
TO_CHAR(0x1F951)
1953+
]
1954+
```
1955+
18951956
## TO_HEX()
18961957

18971958
`TO_HEX(value) → hexString`

site/content/3.12/aql/functions/type-check-and-cast.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ TO_ARRAY({foo: 1, bar: 2, baz: [3, 4, 5]}) // [1, 2, [3, 4, 5]]
140140

141141
`TO_LIST(value) → array`
142142

143-
This is an alias for [TO_ARRAY()](#to_array).
143+
This is an alias for [`TO_ARRAY()`](#to_array).
144144

145145
## Type check functions
146146

@@ -205,7 +205,7 @@ Check whether *value* is an array / list
205205

206206
`IS_LIST(value) → bool`
207207

208-
This is an alias for [IS_ARRAY()](#is_array)
208+
This is an alias for [`IS_ARRAY()`](#is_array)
209209

210210
### IS_OBJECT()
211211

@@ -221,7 +221,7 @@ Check whether *value* is an object / document
221221

222222
`IS_DOCUMENT(value) → bool`
223223

224-
This is an alias for [IS_OBJECT()](#is_object)
224+
This is an alias for [`IS_OBJECT()`](#is_object)
225225

226226
### IS_DATESTRING()
227227

site/content/3.12/develop/integrations/kafka-connect-arangodb-sink-connector/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ See [SSL configuration](configuration.md#ssl) for further options.
253253

254254
## Limitations
255255

256-
- The `VST` communication protocol (`connection.protocol=VST`) is currently not working (DE-619)
257256
- Record values are required to be object-like structures (DE-644)
258257
- Auto-creation of ArangoDB collection is not supported (DE-653)
259258
- `ssl.cert.value` does not support multiple certificates (DE-655)

site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,15 @@ less overhead.
183183

184184
See [Document and object functions in AQL](../../aql/functions/document-object.md#parse_collection).
185185

186+
The new `REPEAT()` function repeats the input value a given number of times,
187+
optionally with a separator between repetitions, and returns the resulting string.
188+
The new `TO_CHAR()` functions lets you specify a numeric Unicode codepoint and
189+
returns the corresponding character as a string.
190+
191+
See [String functions in AQL](../../aql/functions/string.md#repeat).
192+
193+
A numeric function `RANDOM()` has been added as an alias for the existing `RAND()`.
194+
186195
## Indexing
187196

188197
### Stored values can contain the `_id` attribute
@@ -196,6 +205,11 @@ indexes have been allowing to index and store the `_id` system attribute.
196205

197206
## Server options
198207

208+
### Protocol aliases for endpoints
209+
210+
You can now use `http://` and `https://` as aliases for `tcp://` and `ssl://`
211+
in the `--server.endpoint` startup option of the server.
212+
199213
### Adjustable Stream Transaction size
200214

201215
The previously fixed limit of 128 MiB for [Stream Transactions](../../develop/transactions/stream-transactions.md)
@@ -491,6 +505,11 @@ The following metric as been added:
491505

492506
## Client tools
493507

508+
### Protocol aliases for endpoints
509+
510+
You can now use `http://` and `https://` as aliases for `tcp://` and `ssl://`
511+
in the `--server.endpoint` startup option with all client tools.
512+
494513
### arangodump
495514

496515
### `--ignore-collection` startup option

site/data/3.12/cache.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2575,6 +2575,18 @@
25752575
"request": "LS0tCm5hbWU6IGFxbFJlZ2V4VGVzdF8zCmRlc2NyaXB0aW9uOiAnJwotLS0KUkVUVVJOIFJFR0VYX1RFU1QoInRoZVxcbnF1aWNrXFxuYnJvd25cXG5mb3giLCAiXnRoZShcXG5bYS13XSspK1xcbmZveCQiKQ==",
25762576
"response": "eyJpbnB1dCI6IlJFVFVSTiBSRUdFWF9URVNUKFwidGhlXFxcXG5xdWlja1xcXFxuYnJvd25cXFxcbmZveFwiLCBcIl50aGUoXFxcXG5bYS13XSspK1xcXFxuZm94JFwiKSIsIm91dHB1dCI6IltvYmplY3QgQXJhbmdvUXVlcnlDdXJzb3IsIGNvdW50OiAxLCBjYWNoZWQ6IGZhbHNlLCBoYXNNb3JlOiBmYWxzZV1cblxuWyBcbiAgdHJ1ZSBcbl0iLCJlcnJvciI6IiIsIm9wdGlvbnMiOnsiZGVzY3JpcHRpb24iOiIiLCJuYW1lIjoiYXFsUmVnZXhUZXN0XzMiLCJ0eXBlIjoic2luZ2xlIiwicmVuZGVyIjoiaW5wdXQvb3V0cHV0In19Cg=="
25772577
},
2578+
"aqlRepeat_1_single": {
2579+
"request": "LS0tCm5hbWU6IGFxbFJlcGVhdF8xCmRlc2NyaXB0aW9uOiAnJwotLS0KUkVUVVJOIFJFUEVBVCgiZm9vIiwgMyk=",
2580+
"response": "eyJpbnB1dCI6IlJFVFVSTiBSRVBFQVQoXCJmb29cIiwgMykiLCJvdXRwdXQiOiJbIFxuICBcImZvb2Zvb2Zvb1wiIFxuXSIsImVycm9yIjoiIiwib3B0aW9ucyI6eyJkZXNjcmlwdGlvbiI6IiIsIm5hbWUiOiJhcWxSZXBlYXRfMSIsInR5cGUiOiJzaW5nbGUiLCJyZW5kZXIiOiJpbnB1dC9vdXRwdXQifX0K"
2581+
},
2582+
"aqlRepeat_2_single": {
2583+
"request": "LS0tCm5hbWU6IGFxbFJlcGVhdF8yCmRlc2NyaXB0aW9uOiAnJwotLS0KUkVUVVJOIFJFUEVBVCgiZm9vIiwgMywgIiB8ICIp",
2584+
"response": "eyJpbnB1dCI6IlJFVFVSTiBSRVBFQVQoXCJmb29cIiwgMywgXCIgfCBcIikiLCJvdXRwdXQiOiJbIFxuICBcImZvbyB8IGZvbyB8IGZvb1wiIFxuXSIsImVycm9yIjoiIiwib3B0aW9ucyI6eyJkZXNjcmlwdGlvbiI6IiIsIm5hbWUiOiJhcWxSZXBlYXRfMiIsInR5cGUiOiJzaW5nbGUiLCJyZW5kZXIiOiJpbnB1dC9vdXRwdXQifX0K"
2585+
},
2586+
"aqlRepeat_3_single": {
2587+
"request": "LS0tCm5hbWU6IGFxbFJlcGVhdF8zCmRlc2NyaXB0aW9uOiAnJwotLS0KUkVUVVJOIFJFUEVBVCg1LCA1KQ==",
2588+
"response": "eyJpbnB1dCI6IlJFVFVSTiBSRVBFQVQoNSwgNSkiLCJvdXRwdXQiOiJbIFxuICBcIjU1NTU1XCIgXG5dIiwiZXJyb3IiOiIiLCJvcHRpb25zIjp7ImRlc2NyaXB0aW9uIjoiIiwibmFtZSI6ImFxbFJlcGVhdF8zIiwidHlwZSI6InNpbmdsZSIsInJlbmRlciI6ImlucHV0L291dHB1dCJ9fQo="
2589+
},
25782590
"aqlReverse_1_single": {
25792591
"request": "LS0tCm5hbWU6IGFxbFJldmVyc2VfMQpkZXNjcmlwdGlvbjogJycKLS0tClJFVFVSTiBSRVZFUlNFKCJmb29iYXIiKQ==",
25802592
"response": "eyJpbnB1dCI6IlJFVFVSTiBSRVZFUlNFKFwiZm9vYmFyXCIpIiwib3V0cHV0IjoiW29iamVjdCBBcmFuZ29RdWVyeUN1cnNvciwgY291bnQ6IDEsIGNhY2hlZDogZmFsc2UsIGhhc01vcmU6IGZhbHNlXVxuXG5bIFxuICBcInJhYm9vZlwiIFxuXSIsImVycm9yIjoiIiwib3B0aW9ucyI6eyJkZXNjcmlwdGlvbiI6IiIsIm5hbWUiOiJhcWxSZXZlcnNlXzEiLCJ0eXBlIjoic2luZ2xlIiwicmVuZGVyIjoiaW5wdXQvb3V0cHV0In19Cg=="
@@ -2715,6 +2727,10 @@
27152727
"request": "LS0tCm5hbWU6IGFxbFRvQmFzZTY0CmRlc2NyaXB0aW9uOiAnJwotLS0KUkVUVVJOIFsKICBUT19CQVNFNjQoIkFCQy4iKSwKICBUT19CQVNFNjQoIjEyMzQ1NiIpCl0=",
27162728
"response": "eyJpbnB1dCI6IlJFVFVSTiBbXG4gIFRPX0JBU0U2NChcIkFCQy5cIiksXG4gIFRPX0JBU0U2NChcIjEyMzQ1NlwiKVxuXSIsIm91dHB1dCI6IltvYmplY3QgQXJhbmdvUXVlcnlDdXJzb3IsIGNvdW50OiAxLCBjYWNoZWQ6IGZhbHNlLCBoYXNNb3JlOiBmYWxzZV1cblxuWyBcbiAgWyBcbiAgICBcIlFVSkRMZz09XCIsIFxuICAgIFwiTVRJek5EVTJcIiBcbiAgXSBcbl0iLCJlcnJvciI6IiIsIm9wdGlvbnMiOnsiZGVzY3JpcHRpb24iOiIiLCJuYW1lIjoiYXFsVG9CYXNlNjQiLCJ0eXBlIjoic2luZ2xlIiwicmVuZGVyIjoiaW5wdXQvb3V0cHV0In19Cg=="
27172729
},
2730+
"aqlToChar_single": {
2731+
"request": "LS0tCm5hbWU6IGFxbFRvQ2hhcgpkZXNjcmlwdGlvbjogJycKLS0tClJFVFVSTiBbCiAgVE9fQ0hBUigyMTYpLAogIFRPX0NIQVIoMHgxRjk1MSkKXQ==",
2732+
"response": "eyJpbnB1dCI6IlJFVFVSTiBbXG4gIFRPX0NIQVIoMjE2KSxcbiAgVE9fQ0hBUigweDFGOTUxKVxuXSIsIm91dHB1dCI6IlsgXG4gIFsgXG4gICAgXCLDmFwiLCBcbiAgICBcIvCfpZFcIiBcbiAgXSBcbl0iLCJlcnJvciI6IiIsIm9wdGlvbnMiOnsiZGVzY3JpcHRpb24iOiIiLCJuYW1lIjoiYXFsVG9DaGFyIiwidHlwZSI6InNpbmdsZSIsInJlbmRlciI6ImlucHV0L291dHB1dCJ9fQo="
2733+
},
27182734
"aqlToHex_single": {
27192735
"request": "LS0tCm5hbWU6IGFxbFRvSGV4CmRlc2NyaXB0aW9uOiAnJwotLS0KUkVUVVJOIFsKICBUT19IRVgoIkFCQy4iKSwKICBUT19IRVgoIsO8IikKXQ==",
27202736
"response": "eyJpbnB1dCI6IlJFVFVSTiBbXG4gIFRPX0hFWChcIkFCQy5cIiksXG4gIFRPX0hFWChcIsO8XCIpXG5dIiwib3V0cHV0IjoiW29iamVjdCBBcmFuZ29RdWVyeUN1cnNvciwgY291bnQ6IDEsIGNhY2hlZDogZmFsc2UsIGhhc01vcmU6IGZhbHNlXVxuXG5bIFxuICBbIFxuICAgIFwiNDE0MjQzMmVcIiwgXG4gICAgXCJjM2JjXCIgXG4gIF0gXG5dIiwiZXJyb3IiOiIiLCJvcHRpb25zIjp7ImRlc2NyaXB0aW9uIjoiIiwibmFtZSI6ImFxbFRvSGV4IiwidHlwZSI6InNpbmdsZSIsInJlbmRlciI6ImlucHV0L291dHB1dCJ9fQo="

0 commit comments

Comments
 (0)