I've commented in the pull request: https://github.com/apache/couchdb/pull/3582#issuecomment-848792131
On Wed, 26 May 2021 at 14:30, Garren Smith <gar...@apache.org> wrote: > Hi Hannes, > > First off, thank you for contributing the PR. The code looks good, I have > commented that we need two more tests. > In terms of the operator, I'm not 100% sure of the use of the operator. I > would like to see what other CouchDB committers think the of new operator. > > Cheers > Garren > > On Tue, May 25, 2021 at 2:46 PM hannes <leevi...@yahoo.de.invalid> wrote: > > > Hello couchdb devs, > > > > I would like to add operators $sizeGte and $sizeLte to the mango > > selector language. > > > > Example: It solves the problem of selecting documents with at least 10 > > customers and at most 20 customers in the customers array. > > > > I have created a PR here > > - https://github.com/apache/couchdb/pull/3582 > > > > Any feedback and help welcome. > > > > best, > > Hannes Klarner. > > >