Replies: 1 comment 1 reply
-
I assume the example you are talking about is this: https://www.mongodb.com/docs/drivers/node/current/fundamentals/connection/connect/#atlas-connection-example In that case, you don't need to You can see more discussion at this StackOverflow post https://stackoverflow.com/a/14607887/7902371 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In other examples like Javascript /Nodejs, the coders have closed the mongo connection in a finally block after utilization in try.
But such a thing is not present in the Next.js example
1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions