From 68f2376b2581e754027e0fefb0f3a3f36ef34696 Mon Sep 17 00:00:00 2001 From: mk3008 Date: Wed, 16 Nov 2022 23:07:33 +0900 Subject: [PATCH 1/2] recognize uppercase letters as strings --- src/SqModel/Extension/stringExtension.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SqModel/Extension/stringExtension.cs b/src/SqModel/Extension/stringExtension.cs index 173b081..7ec097b 100644 --- a/src/SqModel/Extension/stringExtension.cs +++ b/src/SqModel/Extension/stringExtension.cs @@ -71,7 +71,7 @@ public static bool IsLogicalOperator(this string source) public static bool IsLetter(this string source) { if (source.Length == 0) return false; - var c = source.ToCharArray().First(); + var c = source.ToLower().ToCharArray().First(); return SqlParser.LetterChars.Where(x => x == c).Any(); } From 2a8d0d0ecd048ea799a6f8d1e03ff62a93a0bd65 Mon Sep 17 00:00:00 2001 From: mk3008 Date: Wed, 16 Nov 2022 23:08:09 +0900 Subject: [PATCH 2/2] version 0.8.12 --- src/SqModel/SqModel.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SqModel/SqModel.csproj b/src/SqModel/SqModel.csproj index aa5c692..2d9903a 100644 --- a/src/SqModel/SqModel.csproj +++ b/src/SqModel/SqModel.csproj @@ -8,7 +8,7 @@ https://github.com/mk3008/SqModel - 0.8.11 + 0.8.12 Sql;QueryBuilder;SqlParser;SqlBuilder; README.md Parse and build select queries.