mongodb check for array not empty query

94

mongodb check for array not empty query -

collection.find({ arrayElementName: { $exists: true, $not: {$size: 0} } })

Comments

Submit
0 Comments