aqlFieldObject.php
Table of Contents
Functions
- aqlFieldObject() : string
- Generates an AQL key/value expression for extracting an object or the first element of an array field.
Functions
aqlFieldObject()
Generates an AQL key/value expression for extracting an object or the first element of an array field.
aqlFieldObject(string $key, string $value) : string
Parameters
- $key : string
-
Logical key to use in the resulting AQL object.
- $value : string
-
AQL field reference to evaluate (e.g.
'doc.authors').
Tags
Return values
string —AQL key/value snippet extracting the first array element.