s mongo データベースがあるとします。
[
{
name: tom,
tags: ["a","b"]
}
{
name: lee,
tags: ["b","c", "d"]
}
{
name: jack,
tags: ["c","d"]
}
]
上記のb
ように、タグに含まれるオブジェクトを見つけたいtom
lee
では、どのようなクエリ文を使用できますか?