Skip to content

Commit 9feb79a

Browse files
committed
fix: Use bytes for binary columns
1 parent 245f052 commit 9feb79a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/postgresql_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func postgresType(req *plugin.GenerateRequest, col *plugin.Column) string {
2222
case "json", "jsonb":
2323
return "Any"
2424
case "bytea", "blob", "pg_catalog.bytea":
25-
return "memoryview"
25+
return "bytes"
2626
case "date":
2727
return "datetime.date"
2828
case "pg_catalog.time", "pg_catalog.timetz":

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy