Skip to main content
Version: 2024.1

Query Operators

Operators allow to modify and transform the data before it is delivered to the endpoint.

OverviewOverviewOverview

Alias

Simply gives the child node a different name.

Date Formatter

Utilizes the PHP date formatter.

Datahub ConfigsDatahub ConfigsDatahub Configs

Asset Thumbnail

Returns the thumbnail URL of the assigned image.

Thumbnail ConfigThumbnail ConfigThumbnail Config

Asset Thumbnail HTML

Returns the thumbnail HTML tag of the assigned image.

Thumbnail ConfigThumbnail ConfigThumbnail Config

Concatenator

Concatenates the child values.

Concatenator ConfigConcatenator ConfigConcatenator Config

Request:

{
getPerson(id: 28) {
concatenatedname
}
}
{
"data": {
"getPerson": {
"concatenatedname": "John Doe"
}
}
}

Element Counter

Counts the child elements.

Datahub ConfigsDatahub ConfigsDatahub Configs

Request:

{
getUser(id: 50, defaultLanguage: "de") {
count_myobjects
}
}

Response:

{
"data": {
"getUser": {
"count_myobjects": 2
}
}
}

Merge

...

Substring

As the name says.

Static Text

Adds some static text.

Translate Value

Similar to Pimcore's Translate Value. For an example see Website Translations

Trimmer

As the name says.