Selecting specific data from mongo DB documents

We have an API call that happen to fetch loads of data, binary data included. This in turn causes the fetching process to take long. What we want is to filter and fetch few light columns. To make the app to load faster. How can that be achieved on a React Typescript, Node

Hi @Trailbrazer_Lounge ,

If you are using a js driver or node driver you need to use projection in your queries and specify only the set of fields you need.


Thank you Pavel. Let me give it a try.