usql update

This commit is contained in:
2022-03-08 17:48:14 +01:00
parent 55ee694f6f
commit 65abc2fd07
6 changed files with 42 additions and 11 deletions

View File

@@ -7,12 +7,12 @@ namespace usql {
std::string column_type_name(const ColumnType type) {
if (type == ColumnType::integer_type) return "integer_type";
if (type == ColumnType::float_type) return "float_type";
if (type == ColumnType::float_type) return "float_type";
if (type == ColumnType::varchar_type) return "varchar_type";
if (type == ColumnType::date_type) return "date_type";
if (type == ColumnType::bool_type) return "bool_type";
if (type == ColumnType::date_type) return "date_type";
if (type == ColumnType::bool_type) return "bool_type";
throw Exception("invalid column type: " + (int)type);
throw Exception("invalid column type: " + std::to_string((int)type));
};