Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Function example establishing db connection #13

Closed
ccfontes opened this issue Apr 22, 2023 · 4 comments
Closed

Add Function example establishing db connection #13

ccfontes opened this issue Apr 22, 2023 · 4 comments

Comments

@ccfontes
Copy link
Owner

ccfontes commented Apr 22, 2023

Add Function example establishing db connection:

  • Pool database connections
  • Database connection pool persists between requests
  • Database pooling should be established if there isn't one
@ccfontes
Copy link
Owner Author

@ccfontes
Copy link
Owner Author

Seems to need HTTP mode to persistent pool of connections between Function requests. Blocked by #7.

Also, not urgent to make this example because folks can use a managed database service that also manages their connection pool.

Example in Node.js: https://github.com/alexellis/mongodb-function

@ccfontes
Copy link
Owner Author

@ccfontes
Copy link
Owner Author

Very low priority. Will re-open if necessary.
Related: #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant