-
👋 I would like to save the value of a column (TEXT) into a struct defined by me. Thanks for your help and this nice package 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
pgtype.BinaryDecoder, pgtype.TextDecoder, pgtype.BinaryEncoder, and pgtype.TextEncoder are part of pgx v4. They are not part of v5. That's why they're not being called. You probably want to implement |
Beta Was this translation helpful? Give feedback.
pgtype.BinaryDecoder, pgtype.TextDecoder, pgtype.BinaryEncoder, and pgtype.TextEncoder are part of pgx v4. They are not part of v5. That's why they're not being called.
You probably want to implement
pgtype.TextScanner
.