Hi
the biggest mistake is not to use an aggregation pipeline. Many, literally over 50% of the projects I see, have the same pattern: SQL people try out MongoDB. They limit their test to CRUD operations, some do not even know that there is something like an aggregation pipeline, other feel lost in too many curly braces …
Cheers
Michael
PS if you want to get a concrete answer on the biggest mistakes
- $match is not user as the first stage
- in correct use of $unwind