Techiio-author
Started by Debarghya DasMar 8, 2022

Closed
Error in getting user MongoError: how to solve this kind of error?

8 VIEWES 1 LIKES 0 DISLIKES SHARE
1 LIKES 0 DISLIKES 8 VIEWES SHARE

1 Replies

Techiio-commentatorAbhishek Jalan replied 5 months ago0 likes0 dislikes

Think of a way to use db.close() that should solve your problem. I am using async/await in this case.

Debarghya Das
Great, it's working now:) . . Thanks for ur advice...
This thread is closed by Debarghya Das
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance