- db.students.update(
- { _id: 1 },
- {
- $push: {
- quizzes: {
- $each: [ { id: 3, score: 8 }, { id: 4, score: 7 }, { id: 5, score: 6 } ],
- $sort: { score: 1 }
- }
- }
- }
- )
相关文章:
-
2022-01-20
-
2021-12-07
-
2022-12-23
-
2021-12-21
-
2021-12-21
-
2022-12-23
-
2021-07-22
猜你喜欢
-
2022-12-23
-
2022-02-24
-
2021-06-09
-
2022-12-23
-
2023-03-07
-
2021-09-20
相关资源
-
下载
2023-01-17
-
下载
2023-03-30
-
下载
2022-12-11