Trong tài liệu, tôi thấy rằng $$ROOT biểu thức giải quyết vấn đề này.
Từ DOC: https:// docs.mongodb.org/manual/reference/operator/aggregation/group/#group-documents-by-author
Trong tài liệu, tôi thấy rằng $$ROOT biểu thức giải quyết vấn đề này.
Từ DOC: https:// docs.mongodb.org/manual/reference/operator/aggregation/group/#group-documents-by-author