aqlBindRef.php
Table of Contents
Functions
- aqlBindRef() : AqlBindReference
- Declares a reference to an AQL bind variable by name — a placeholder for a value supplied at query time, never inlined.
Functions
aqlBindRef()
Declares a reference to an AQL bind variable by name — a placeholder for a value supplied at query time, never inlined.
aqlBindRef(string $name) : AqlBindReference
Unlike aqlBind(), it registers no value and touches no bind map: it
only names the slot. The value of @name is contributed by the caller via
the existing top-level bind mechanism (AQL::BINDS), which merges into the
query's single bindVars map.
The returned AqlBindReference is honored by the projection condition
compiler (buildWhenLeaf()) on both the
attribute (left) and the value (right) side of a leaf, so it composes with
Field::WHERE and Field::WHEN.
Parameters
- $name : string
-
The bind variable name, without the leading
@.
Tags
Return values
AqlBindReference —The bind reference value object.