This is more about the ‘warm’ container that persists in lambda. So long as you keep using a lambda function then it will remain provisioned in memory and retain the open connection the DB
Here is a simpler explanation from mongo themselves:
So how do I trigger a function from another function?
Run netlify cli and call invoke-function?
Make a fetch request? If so to what endpoint?
Thanks