Friday, 22 November 2019

mongo find query array size with gt

only way is use js:

https://stackoverflow.com/questions/7811163/query-for-documents-where-array-size-is-greater-than-1

the original $size cannot use gt.
https://docs.mongodb.com/manual/reference/operator/query/size/

1 comment: