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 try_bind function #235

Open
erikschul opened this issue Jan 10, 2024 · 0 comments
Open

Add try_bind function #235

erikschul opened this issue Jan 10, 2024 · 0 comments

Comments

@erikschul
Copy link

cornucopia can panic when types are incorrect during row.get. This can cause a server to crash.
This can occur when a table schema changes, and in particular, if nullability changes aren't updated correctly in all queries. (#226)

Can you provide a function try_bind that uses try_get?

See this example: https://github.com/Dowwie/tokio-postgres-mapper

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

1 participant