We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a6a5dc commit 27e8f68Copy full SHA for 27e8f68
sqlite3_type.go
@@ -73,6 +73,9 @@ func (rc *SQLiteRows) ColumnTypeScanType(i int) reflect.Type {
73
return TYPE_NULLSTRING
74
case C.SQLITE_BLOB:
75
return TYPE_RAWBYTES
76
+ // This case can signal that the value is NULL or that Next() has not been called yet.
77
+ // Skip it and return the fallback behaviour as a best effort. This is safe as all types
78
+ // returned are Nullable or any, which is the expected value for SQLite3.
79
//case C.SQLITE_NULL:
80
// return TYPE_ANY
81
}
0 commit comments