daily log 12.04.20

less than 1 minute read

Mongo query!

{$and: [{ "recipeIngredient": { $regex: ".*chicken.*" } },{ "recipeIngredient": { $regex: ".*peppers.*" } },{ "recipeIngredient": { $regex: ".*cashews.*" } }]}

Results from both HBH & Ambitious Kitchen

{$and: [{ "recipeIngredient": { $regex: ".*chicken.*" } },{ "recipeIngredient": { $regex: ".*cashews.*" } }]}

Results from ALL HBH, AK & MB

{$and: [{ "recipeIngredient": { $regex: ".*quinoa.*" } },{ "recipeIngredient": { $regex: ".*cashews.*" } }]}

GROUP

{
  _id: "$author_id",
  count: {
    "$sum": 1
  }
}