Usa il $all
operatore:
db.article.find( { _keywords: { $all: [ 'foo1', 'foo2' ] } } );
Fonte:http://www.mongodb.org/display/ DOCS/Advanced+Query#AdvancedQueries-%24all
Usa il $all
operatore:
db.article.find( { _keywords: { $all: [ 'foo1', 'foo2' ] } } );
Fonte:http://www.mongodb.org/display/ DOCS/Advanced+Query#AdvancedQueries-%24all