mongodb check for array not empty query

98

mongodb check for array not empty query -

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

Comments

Submit
0 Comments