Hello @AniveshSingh700,
To include the reference model values, you can use enrich: true
in your GraphQL query like this:
query {
blogArticle(options: { enrich:true}) {
content
}
}
For sorting, you can use the sort
keyword with a value of 1 for ascending and -1 for descending order like this:
query {
blogArticle(options: { enrich:true}, sort: {name: 1}) {
name
}
}