Introduction
The database engine makes your data queries faster by organizing and improving the steps you ask it to do.
When you want to get data from a collection with many steps like filtering, sorting, and grouping.
When you want your queries to run faster without changing your code.
When you want to understand why some queries take longer and how to fix them.
When you build reports that need data processed in several stages.
When you want to reduce the amount of data your app receives by processing it inside the database.