Skip to content

Additional helper methods for query_typed #1232

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

Open
maxdeviant opened this issue Apr 9, 2025 · 2 comments
Open

Additional helper methods for query_typed #1232

maxdeviant opened this issue Apr 9, 2025 · 2 comments

Comments

@maxdeviant
Copy link

Since #1147 we now have query_typed, which allows using tokio-postgres with pools that do not have prepared statements.

However, there don't seem to be equivalents for query_one, query_opt, which would be useful to have.

Is this something that would we would be interested in adding? I'd be happy to open a PR for it.

@ramnivas
Copy link
Contributor

ramnivas commented Apr 9, 2025

I think that would be a good addition.

@maxdeviant
Copy link
Author

I think that would be a good addition.

By the way, thank you for your blog posts on using Hyperdrive from Rust and work on query_typed 🙂

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

No branches or pull requests

2 participants