usql update
This commit is contained in:
@@ -24,9 +24,9 @@ MlValue uSQL::ivaluize(const usql::Table *table) {
|
||||
if (c.isNull()) {
|
||||
columns.push_back(MlValue::nil());
|
||||
} else if (type == ColumnType::integer_type || type == ColumnType::date_type) {
|
||||
columns.push_back(MlValue(c.getIntValue()));
|
||||
columns.push_back(MlValue(c.getIntegerValue()));
|
||||
} else if (type == ColumnType::bool_type) {
|
||||
columns.push_back(c.getBoolValue() ? MlValue(c.getIntValue()) : MlValue::nil());
|
||||
columns.push_back(c.getBoolValue() ? MlValue(c.getIntegerValue()) : MlValue::nil());
|
||||
} else if (type == ColumnType::float_type) {
|
||||
columns.push_back(MlValue(c.getDoubleValue()));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user