$addField with subQuery in MongoDB aggregation

前端 未结 0 991
别那么骄傲
别那么骄傲 2021-02-01 06:00

I have 2 collections: Chargers and Reservation. I would like for the reservations in the next 7 days to be appended as a field when querying for chargers.

The model for c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题