DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
mongodb check for array not empty query
collection.find({ arrayElementName: { $exists: true, $not: {$size: 0} } })
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mongodb
#check
#array
#empty
#query
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit