How to join populated row by count
I am using useSimpleList, with the following config:
meta: {
populate: {
jobRole: {
fields: '*'
}
}
}
I am getting all jobRole related which the main query for each row
But instead of that, I need to get the count of jobRoles per each row, instead of the array of elements
Is it possible to do that count functionality it with the query in a native way?
meta: {
populate: {
jobRole: {
fields: '*'
}
}
}
I am getting all jobRole related which the main query for each row
But instead of that, I need to get the count of jobRoles per each row, instead of the array of elements
Is it possible to do that count functionality it with the query in a native way?
