isProperty.php
Table of Contents
Functions
- isProperty() : array<string|int, mixed>
- Build an AQL equality condition on a document property.
Functions
isProperty()
Build an AQL equality condition on a document property.
isProperty(string $property, null|string|array<string|int, mixed> $value[, string $docRef = AQL::DOC ]) : array<string|int, mixed>
This helper creates an equality condition (==) when a scalar value or
AQL expression is provided, and an IN condition when an array of values
is given.
Parameters
- $property : string
-
The property name (Prop::*)
- $value : null|string|array<string|int, mixed>
-
The expected value or expression.
- $docRef : string = AQL::DOC
-
The AQL doc reference (default: doc)
Tags
Return values
array<string|int, mixed> —An array containing a single AQL condition expression