Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions 3.10/aql/functions-arangosearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,6 @@ that is used outside of `SEARCH` operations.
- returns **startsWith** (bool): whether the specified attribute starts with
the given prefix

---

`STARTS_WITH(path, prefixes, minMatchCount) → startsWith`

<small>Introduced in: v3.7.1</small>
Expand Down
6 changes: 0 additions & 6 deletions 3.10/aql/functions-bit.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ input number value is 2<sup>32</sup> - 1. Input number values outside the allowe
range will make the function return `null` and produce a warning. Any `null`
values in the input array are ignored.

---

`BIT_AND(value1, value2) → result`

If two numbers are passed as individual function parameters to `BIT_AND()`, it
Expand Down Expand Up @@ -166,8 +164,6 @@ input number value is 2<sup>32</sup> - 1. Input number values outside the
allowed range will make the function return `null` and produce a warning.
Any `null` values in the input array are ignored.

---

`BIT_OR(value1, value2) → result`

If two numbers are passed as individual function parameters to `BIT_OR()`, it
Expand Down Expand Up @@ -317,8 +313,6 @@ input number value is 2<sup>32</sup> - 1. Input number values outside the
allowed range will make the function return `null` and produce a warning.
Any `null` values in the input array are ignored.

---

`BIT_XOR(value1, value2) → result`

If two numbers are passed as individual function parameters to `BIT_XOR()`, it
Expand Down
8 changes: 0 additions & 8 deletions 3.10/aql/functions-date.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,6 @@ The date time string will always use UTC / Zulu time, indicated by the *Z* at it
- **date** (number\|string): numeric timestamp or ISO 8601 date time string
- returns **dateString**: date and time expressed according to ISO 8601, in Zulu time

---

`DATE_ISO8601(year, month, day, hour, minute, second, millisecond) → dateString`

Return a ISO 8601 date time string from *date*, but allows to specify the individual
Expand All @@ -170,8 +168,6 @@ To convert the return value to seconds, divide it by 1000.
- **date** (number\|string): numeric timestamp or ISO 8601 date time string
- returns **timestamp** (number): numeric timestamp

---

`DATE_TIMESTAMP(year, month, day, hour, minute, second, millisecond) → timestamp`

Create a timestamp value, but allows to specify the individual date components
Expand Down Expand Up @@ -759,8 +755,6 @@ DATE_ADD(DATE_TIMESTAMP(DATE_YEAR(DATE_NOW()), 12, 24), -4, "years") // Christma
DATE_ADD(DATE_ADD("2016-02", "month", 1), -1, "day") // last day of February (29th, because 2016 is a leap year!)
```

---

`DATE_ADD(date, isoDuration) → isoDate`

You may also pass an ISO duration string as *amount* and leave out *unit*.
Expand Down Expand Up @@ -820,8 +814,6 @@ durations are not supported (i.e. starting with `-P`, like `-P1Y`).
- f, millisecond, milliseconds
- returns **isoDate** (string): the calculated ISO 8601 date time string

---

`DATE_SUBTRACT(date, isoDuration) → isoDate`

You may also pass an ISO duration string as *amount* and leave out *unit*.
Expand Down
8 changes: 0 additions & 8 deletions 3.10/aql/functions-document.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ To do the opposite, see [UNSET()](#unset).
KEEP(doc, "firstname", "name", "likes")
```

---

`KEEP(document, attributeNameArray) → doc`

- **document** (object): a document / object
Expand Down Expand Up @@ -282,8 +280,6 @@ MERGE(
// { "users": { "name": "Tom" } }
```

---

`MERGE(docArray) → mergedDocument`

*MERGE* works with a single array parameter, too. This variant allows combining the
Expand Down Expand Up @@ -409,8 +405,6 @@ To do the opposite, see [KEEP()](#keep).
UNSET( doc, "_id", "_key", "foo", "bar" )
```

---

`UNSET(document, attributeNameArray) → doc`

- **document** (object): a document / object
Expand Down Expand Up @@ -440,8 +434,6 @@ Recursively remove the attributes *attributeName1* to *attributeNameN* from
UNSET_RECURSIVE( doc, "_id", "_key", "foo", "bar" )
```

---

`UNSET_RECURSIVE(document, attributeNameArray) → doc`

- **document** (object): a document / object
Expand Down
2 changes: 0 additions & 2 deletions 3.10/aql/functions-geo.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ favor of the new `GEO_CONTAINS` AQL function, which works with
IS_IN_POLYGON( [ [ 0, 0 ], [ 0, 10 ], [ 10, 10 ], [ 10, 0 ] ], 4, 7 )
```

---

`IS_IN_POLYGON(polygon, coord, useLonLat) → bool`

The 2nd parameter can alternatively be specified as an array with two values.
Expand Down
6 changes: 2 additions & 4 deletions 3.10/aql/functions-miscellaneous.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,13 @@ DECODE_REV( "_YU0HOEG---" )

### SHARD_ID()

`SHARD_ID(collection, shardKeys) → shardId`
`SHARD_ID(collection, {shardKeys})`

Return the shard in a collection that contains specified shard keys.

- **collection** (string): a collection name
- **shardKeys** (object): a set of shard keys and values
- returns **shardId** (string): the responsible shard for the specified shard keys in
- returns **retVal** (string): the responsible shard for the specified shard keys in
the given collection

Any missing shard key in the query is substituted with the `null` value.
Expand Down Expand Up @@ -320,8 +320,6 @@ of keys to return all documents that can be found.
{% endaqlexample %}
{% include aqlexample.html id=examplevar type=type query=query bind=bind result=result %}

---

`DOCUMENT(id) → doc`

The function can also be used with a single parameter *id* as follows:
Expand Down
Loading