isNull.php
Table of Contents
Functions
- isNull() : string
- Builds an AQL expression that checks whether a value is `null`.
Functions
isNull()
Builds an AQL expression that checks whether a value is `null`.
isNull(string $value) : string
This helper wraps the ArangoDB AQL function IS_NULL(), which returns
true if the given value is null, and false otherwise.
Example AQL output:
IS_NULL(user.email)
Parameters
- $value : string
-
The AQL field or expression to check (e.g.
'user.email').
Tags
Return values
string —The formatted AQL expression (e.g. 'IS_NULL(user.email)').