1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
What is the error message you are getting? From the syntax of what you provided, it looks like you are missing brackets around your multiply aggregation expressions.
'test': { $multiply: "$price", 8 }
...should be...
'test': { $multiply: ["$price", 8]}
See more here: https://docs.mongodb.com/manual/reference/operator/aggregation/multiply/
回答済み 2年前
関連するコンテンツ
- AWS公式更新しました 8ヶ月前