MongoDB
 SQL >> Base de Dados >  >> NoSQL >> MongoDB

Usando condição AND em find MongoDB

Para exigir múltiplos valores em array, use $all.

db.Bookmarks.find({ tags: { $all: ['bbb','ccc'] } })