📅  最后修改于: 2022-03-11 15:03:34.083000             🧑  作者: Mango
// As favouriteFoods is a simple array of strings,
// you can just query that field directly:
// favouriteFoods contains "sushi"
PersonModel.find({ favouriteFoods: "sushi" }, ...);