simple distinct added

This commit is contained in:
2021-08-01 14:31:19 +02:00
parent 4a344d0e77
commit 50a7993a2e
9 changed files with 41 additions and 12 deletions

View File

@@ -197,6 +197,8 @@ namespace usql {
return TokenType::keyword_float;
if (token == "varchar")
return TokenType::keyword_varchar;
if (token == "distinct")
return TokenType::keyword_distinct;
if (token == "or")
return TokenType::logical_or;
if (token == "and")
@@ -382,6 +384,9 @@ namespace usql {
case TokenType::keyword_varchar:
txt = "varchar";
break;
case TokenType::keyword_distinct:
txt = "distinct";
break;
case TokenType::int_number:
txt = "int number";
break;