count.php
Table of Contents
Functions
- count() : string
- Return the number of attribute keys of a document (an alias of {@see length()} / `LENGTH()`).
Functions
count()
Return the number of attribute keys of a document (an alias of {@see length()} / `LENGTH()`).
count(string $document) : string
Wraps the ArangoDB AQL function COUNT(document).
Example AQL usage:
COUNT({a: 1, b: 2}) // returns 2
Parameters
- $document : string
-
The document variable or expression.
Tags
Return values
string —The formatted AQL expression.