未验证 提交 eb3dca9c 编写于 作者: 雪洛's avatar 雪洛 提交者: GitHub

Merge pull request #1360 from WongAo/patch-1

修改文档错误
......@@ -3888,8 +3888,8 @@ db.command.aggregate.arrayElemAt([<array>, <index>])
const $ = db.command.aggregate
db.collection('exams').aggregate()
.project({
first: $.arraElemAt(['$scores', 0]),
last: $.arraElemAt(['$scores', -1]),
first: $.arrayElemAt(['$scores', 0]),
last: $.arrayElemAt(['$scores', -1]),
})
.end()
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册