You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can insert a struct with a field called Auth that's []byte, with the annotation bun:"type:bytea,notnull", however when i try to retrieve the same struct using a NewSelect().......Scan(ctx) I get the following error:
sql: Scan error on column index 1, name "auth": invalid character '\\' looking for beginning of value
This used to work fine in go-pg. Could it be an issue introduced in Bun?
I'm using off-the-shelf Postgres, and I see the issue in both of the Postgres drivers recommended in the Bun documentation.
The text was updated successfully, but these errors were encountered:
I can insert a struct with a field called
Auth
that's[]byte
, with the annotationbun:"type:bytea,notnull"
, however when i try to retrieve the same struct using aNewSelect().......Scan(ctx)
I get the following error:sql: Scan error on column index 1, name "auth": invalid character '\\' looking for beginning of value
This used to work fine in go-pg. Could it be an issue introduced in Bun?
I'm using off-the-shelf Postgres, and I see the issue in both of the Postgres drivers recommended in the Bun documentation.
The text was updated successfully, but these errors were encountered: