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 Axum+Diesel example #629

Merged
merged 1 commit into from
Apr 8, 2023
Merged

Add Axum+Diesel example #629

merged 1 commit into from
Apr 8, 2023

Conversation

calavera
Copy link
Contributor

@calavera calavera commented Apr 8, 2023

It shows how to use diesel-async on Lambda to connect to a Postgres database.

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

It shows how to use diesel-async on Lambda to connect to a Postgres database.

Signed-off-by: David Calavera <david.calavera@gmail.com>
@greenwoodcm
Copy link
Contributor

awesome!

@greenwoodcm greenwoodcm merged commit cd0a19c into main Apr 8, 2023
@greenwoodcm greenwoodcm deleted the axum_diesel_example branch April 8, 2023 20:29
@hxk1633
Copy link

hxk1633 commented Jul 26, 2023

I integrated this example into my project, but the lambda function is timing out when diesel inserts a new row into a table. I'm using sam local start-api to test it.

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

Successfully merging this pull request may close these issues.

3 participants