collectionCount.php
Table of Contents
Functions
- collectionCount() : string
- Determine the amount of documents in a collection. LENGTH() is preferred.
Functions
collectionCount()
Determine the amount of documents in a collection. LENGTH() is preferred.
collectionCount(mixed $collection) : string
This helper wraps the ArangoDB AQL function COLLECTION_COUNT().
Example AQL output:
COLLECTION_COUNT(coll)
Parameters
- $collection : mixed
Tags
Return values
string —The formatted AQL expression (e.g. 'COLLECTION_COUNT(coll)').