Skip to content

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
@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