pwsacademy / around-the-table

An open source platform that supports tabletop gaming communities, written in Swift.
BSD 2-Clause "Simplified" License
19 stars 4 forks source link

Investigate lookup aggregation queries #67

Closed svanimpe closed 6 years ago

svanimpe commented 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

svanimpe commented 6 years ago

Closed as part of refactor https://github.com/svanimpe/around-the-table/commit/006895119be711825595bf9c9fc97391ed7208dd.