diff --git a/sqlite3_type.go b/sqlite3_type.go index 20537a0..42832ba 100644 --- a/sqlite3_type.go +++ b/sqlite3_type.go @@ -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: