Answers for "check if a an array is empty mongodb"

15

mongodb check for array not empty query

collection.find({ arrayElementName: { $exists: true, $not: {$size: 0} } })
Posted by: Guest on May-03-2020

Code answers related to "check if a an array is empty mongodb"

Code answers related to "Javascript"

Browse Popular Code Answers by Language