I'm trying to connect mongodb cloud cluster with my NodeJS project connection is successful but it doesn't show data first empty array [ ], shown and now error msg comes what should i do?
i am trying to create dynamic API so connect mongodb cloud cluster for database but after connecting to database first it shows me empty [ ] but now. it jump to catch error part not to try part there is code for query exist