Good morning folks,
Today, I have a compiled a cheatsheet of mongoose query methods. It contains several performance related tips and data fetching patterns like filtering, pagination etc.
This cheatsheet contains all the tips and tricks I've picked up over the last one year I've spent working with mongoose and mongodb.
You can checkout the repo here.
Feel free to create a PR containing your own tips and tricks you known and want to share with the community.