Skip to content

Commit

Permalink
use []byte for blobs in sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
javiercbk committed Jun 21, 2022
1 parent 0dc2c81 commit c8028bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/codegen/golang/sqlite_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ func sqliteType(req *plugin.CodeGenRequest, col *plugin.Column) string {
return "sql.NullInt64"

case "blob":
if notNull {
return "[]uint8"
}
return "*[]uint8"
return "[]uint8"

case "real", "double", "doubleprecision", "float":
if notNull {
Expand Down

0 comments on commit c8028bf

Please sign in to comment.