concat.php
Table of Contents
Functions
- concat() : string
- Concatenate multiple values into a single string.
Functions
concat()
Concatenate multiple values into a single string.
concat(array<string|int, mixed>|string|null $arguments) : string
This helper wraps the ArangoDB AQL function CONCAT(value1, value2, ... valueN)
which concatenates multiple values into a single string. Values are automatically
converted to strings during concatenation.
Example AQL usage:
CONCAT("Hello", " ", "World") // returns "Hello World"
CONCAT(doc.firstName, " ", doc.lastName) // concatenates name parts
CONCAT("ID: ", doc._key) // returns "ID: 123"
Parameters
- $arguments : array<string|int, mixed>|string|null
-
An AQL string expression or an array of AQL values.
Tags
Return values
string —The formatted AQL expression.