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

Adding example diesel r2d2 #129

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

manuelarte
Copy link
Contributor

I saw an example of how to use postgresm-embedded with axum, and I thought it could be a good idea to add an exmple on how to use it with diesel+r2d2

@brianheineman
Copy link
Contributor

brianheineman commented Aug 17, 2024

@manuelarte thank you for the PR! Would you mind updating the example so that it retrieves some data from the database using Diesel to illustrate that the connection/pool is working? Thanks!

@manuelarte
Copy link
Contributor Author

@manuelarte thank you for the PR! Would you mind updating the example so that it retrieves some data from the database using Diesel to illustrate that the connection/pool is working? Thanks!

Hi @brianheineman ,

I added an example of creating a post following: https://diesel.rs/guides/getting-started

@brianheineman brianheineman merged commit df6402e into theseus-rs:main Aug 19, 2024
9 of 11 checks passed
@brianheineman
Copy link
Contributor

Thanks for the contribution @manuelarte!

@manuelarte
Copy link
Contributor Author

My pleasure

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.

2 participants