isAQLFunction.php
Table of Contents
Functions
- isAQLFunction() : bool
- Check if a string is a valid AQL function call expression.
Functions
isAQLFunction()
Check if a string is a valid AQL function call expression.
isAQLFunction(string $expression) : bool
This function checks if the provided expression starts with a known AQL function name (case-insensitively) followed by parentheses.
Parameters
- $expression : string
-
The expression to check, e.g., 'COUNT(doc)'.
Tags
Return values
bool —True if it's a valid and known AQL function call.