Expand my Community achievements bar.

aem graphql default collation

Avatar

Level 2

I have a querying and what the order of his results. What is it like?

 

example:

query queryAllADOFormsTags($path: ID) {
aDOTagsList(
filter: {_path: {_expressions: {value: $path, _operator: STARTS_WITH}}}
) {
items {
_path
tags
en
zhHk
}
}
}

2 Replies

Avatar

Community Advisor

I don't know if understood correctly what you are asking, but the query you have posted retrieves a list of ADOFormsTags based on a specified path. The "aDOTagsList" field is used to filter the results by checking if the "_path" property starts with the provided value.

There is no sort option defined, if you need to, you can add a SORT option as well, please refer to:  https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-ap... for more info

 

 



Esteban Bustamante

Avatar

Level 2

yes, there is no sort option defined, How will the query results be sorted?