Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

%20find%20all%20docs%20that%20have%20at%20least%20two%20name%20array%20elements_


db.accommodations.find({'name.1': {$exists: true}})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+3 =