parseKey.php
Table of Contents
Functions
- parseKey() : string
- Return the key part of a document identifier.
Functions
parseKey()
Return the key part of a document identifier.
parseKey(string $documentIdentifier) : string
Wraps the ArangoDB AQL function PARSE_KEY(documentIdentifier).
Example AQL usage:
PARSE_KEY("products/123") // returns "123"
PARSE_KEY(doc._id) // key of the current document
Parameters
- $documentIdentifier : string
-
A document handle /
_idexpression or string literal.
Tags
Return values
string —The formatted AQL expression.