aqlUpdateExpression.php
Table of Contents
Functions
- aqlUpdateExpression() : string
- Builds the `UPDATE` clause of an AQL operation.
Functions
aqlUpdateExpression()
Builds the `UPDATE` clause of an AQL operation.
aqlUpdateExpression([array<string|int, mixed> $init = [] ]) : string
Renders the document/expression supplied under the AQL::UPDATE key as
UPDATE <expression> (the expression goes through aqlExpression(),
so it accepts an object literal, a [key, value] pair list, or a raw
string). The AQL::UPDATE key is required: an init that omits it throws
an InvalidArgumentException.
Parameters
- $init : array<string|int, mixed> = []
-
Associative array with:
AQL::UPDATE: array|string — the update expression (required).
Tags
Return values
string —The UPDATE … clause.