Oihana PHP Arango

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
since
1.0.0
author

Marc Alcaraz

Return values
string

AQL key/value snippet extracting the first array element.

On this page

Search results