-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
APIIssues related to the community API (Strapi, databases, etc.)Issues related to the community API (Strapi, databases, etc.)enhancementIssue related to the improvement of an existing featureIssue related to the improvement of an existing featurehelp wantedExtra attention is neededExtra attention is needed
Description
Strapi not having a real implementation of count using GraphQL I used a workaround to count the number of media inside a library section. I am currently fetching all media ids inside a library section and then get the length of the array containing them.
But the best practice would be to create a custom query returning the library section with a count of the library media as an attribute.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
APIIssues related to the community API (Strapi, databases, etc.)Issues related to the community API (Strapi, databases, etc.)enhancementIssue related to the improvement of an existing featureIssue related to the improvement of an existing featurehelp wantedExtra attention is neededExtra attention is needed