-
Notifications
You must be signed in to change notification settings - Fork 67
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
Scanning one column into pgtype #33
Comments
Hi. Thanks for opening this issue. The workaround for your situation would be the following:
I will think about some kind of exceptions for scany to support that case without workarounds. |
Ok, thx ! |
@AubSs Hi! I just released a new version of scany that now includes this feature. |
@georgysavva Hello! I just use the new functionality, and it's perfectly working! |
How to scan one column (and one or multiple rows) into pgx type ?
I'm getting errors like
scany: scan row into struct fields: can't scan into dest[0]: cannot assign &{[some bytes ...] 2} into *[]pgtype.UUID
all my attempts ended in failures ..
The text was updated successfully, but these errors were encountered: