SyntaxFix
Write A Post
Hire A Developer
Questions
None of the above worked for me. This one did so I'm sharing it:
db.collection.find( {arrayName : {$exists:true}, $where:'this.arrayName.length>1'} )