It would be nice to have a way to query the number of items in an array attribute.
My example:
I have a collection where one of the attributes is a list of Strings, holding changing number of images.
I would like to query the collection (list documents) and return only the documents contain more than 1 url, list them in the front end
Advanced implementation of this feature:
If I could create several Queries of this kind, I could, for example:
query all the documents have:
More than 3 items
And
Less than 7 items.
Thanks.
TL;DR
Feature request to add a query function to determine the number of items in an array attribute. Developers would like to be able to filter documents based on the quantity of items in the array attribute, such as returning only documents with more than a certain number of items. Possible advanced implementation would allow for multiple queries with specific quantity criteria.