isAQLExpression.php
Table of Contents
Functions
- isAQLExpression() : bool
- Check if a string looks like an AQL expression that should not be quoted.
Functions
isAQLExpression()
Check if a string looks like an AQL expression that should not be quoted.
isAQLExpression(mixed $value) : bool
Detects:
- AQL functions: CONCAT(...), DATE_NOW(), etc.
- Document references: doc.field, user.name, etc.
- Bind parameters:
Parameters
- $value : mixed
-
The expression value to check
Tags
Return values
bool —True if it looks like an AQL expression