distinctを使用する ingredients.nameの個別の値の配列を検索します
db.recipes.distinct('ingredients.name')
[ "butter", "cheese", "noodles", "flour", "sugar", "water" ]を生成します
distinctを使用する ingredients.nameの個別の値の配列を検索します
db.recipes.distinct('ingredients.name')
[ "butter", "cheese", "noodles", "flour", "sugar", "water" ]を生成します