Skip to content

Commit

Permalink
Update type for blob to be byte array, instead of sql.RawBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
APshenkin authored Sep 5, 2024
1 parent 846fea6 commit 15b04dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlite3_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func scanType(cdt string) reflect.Type {
case SQLITE_TEXT:
return reflect.TypeOf(sql.NullString{})
case SQLITE_BLOB:
return reflect.TypeOf(sql.RawBytes{})
return reflect.SliceOf(reflect.TypeOf(byte(0)))
case SQLITE_REAL:
return reflect.TypeOf(sql.NullFloat64{})
case SQLITE_NUMERIC:
Expand Down

0 comments on commit 15b04dc

Please sign in to comment.