Officially out now: The TypeDB 3.0 Roadmap >>

Modifiers overview

Modifiers let us process the results of a query. By using modifiers, you can change ordering, number of results, or even the output format.

Modifiers always go at the end of a query (after all clauses). Sorting and pagination are quite often used together.

Aggregation can be done only with a Get query and is incompatible with other modifiers.

By sorting, we can change the order in which results are returned.

Get a subset of results by limiting the range of returned answers.

Process query results on a server to return aggregated values, or group results by similar values of a variable.

Process query results on a server to return aggregated values, or group results by similar values of a variable.