We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d4a535 commit e8389fbCopy full SHA for e8389fb
package/cpp/types.hpp
@@ -33,7 +33,9 @@ struct SQLiteExecuteQueryResult {
33
34
// constexpr function that maps SQLiteColumnType to string literals
35
inline ColumnType mapSQLiteTypeToColumnType(const char* type) {
36
- if (strcmp(type, "BOOLEAN")) {
+ if (type == NULL) {
37
+ return ColumnType::NULL_VALUE;
38
+ } else if (strcmp(type, "BOOLEAN")) {
39
return ColumnType::BOOLEAN;
40
} else if (strcmp(type, "FLOAT")) {
41
return ColumnType::NUMBER;
0 commit comments