Version: Edit on GitHub

Query Operators

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

Overview

Alias

Simply gives the child node a different name.

Date Formatter

Utilizes the PHP date formatter.

Datahub Configs

Asset Thumbnail

Returns the thumbnail URL of the assigned image.

Thumbnail Config

Asset Thumbnail HTML

Returns the thumbnail HTML tag of the assigned image.

Thumbnail Config

Concatenator

Concatenates the child values.

Concatenator Config

Request:

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

Element Counter

Counts the child elements.

Datahub 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.