Closed svanimpe closed 6 years ago
Database performance might improve by using aggregation queries with lookup stages instead of separate queries.
https://docs.mongodb.com/manual/reference/operator/aggregation/lookup/#pipe._S_lookup
Closed as part of refactor https://github.com/svanimpe/around-the-table/commit/006895119be711825595bf9c9fc97391ed7208dd.
Database performance might improve by using aggregation queries with lookup stages instead of separate queries.
https://docs.mongodb.com/manual/reference/operator/aggregation/lookup/#pipe._S_lookup