Is it possible with mango query to find those documents, which have a provided string in an array field?
Say,
const doc = {
_id: 'testdoc',
tags: ['pouch', 'couch', 'mysql'],
}
$db.find({ selector: {
tags: {
$has: 'pouch' // what goes here?
}
}})