entries.php
Table of Contents
Functions
- entries() : string
- Return the attributes of a document as an array of key/value pairs.
Functions
entries()
Return the attributes of a document as an array of key/value pairs.
entries(string $document) : string
Wraps the ArangoDB AQL function ENTRIES(document).
Example AQL usage:
ENTRIES({a: 1, b: 2}) // returns [["a", 1], ["b", 2]]
Parameters
- $document : string
-
The document variable or expression.
Tags
Return values
string —The formatted AQL expression.