Gebruik de $all
operator:
db.article.find( { _keywords: { $all: [ 'foo1', 'foo2' ] } } );
Bron:http://www.mongodb.org/display/ DOCS/Advanced+Queries#AdvancedQueries-%24all
Gebruik de $all
operator:
db.article.find( { _keywords: { $all: [ 'foo1', 'foo2' ] } } );
Bron:http://www.mongodb.org/display/ DOCS/Advanced+Queries#AdvancedQueries-%24all