Brug $all
operatør:
db.article.find( { _keywords: { $all: [ 'foo1', 'foo2' ] } } );
Kilde:http://www.mongodb.org/display/ DOCS/Advanced+Queries#AdvancedQueries-%24all
Brug $all
operatør:
db.article.find( { _keywords: { $all: [ 'foo1', 'foo2' ] } } );
Kilde:http://www.mongodb.org/display/ DOCS/Advanced+Queries#AdvancedQueries-%24all