Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 95f3194

Browse files
committed
Update OrmLiteUtils.cs
1 parent dce264a commit 95f3194

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ServiceStack.OrmLite/OrmLiteUtils.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,12 +810,12 @@ public static string StripTablePrefixes(this string selectExpression)
810810
return StringBuilderCache.ReturnAndFree(sb).Trim();
811811
}
812812

813-
public static char[] QuotedChars = { '"', '`', '[', ']' };
813+
private static readonly char[] QuotedChars = { '"', '`', '[', ']' };
814814

815815
public static string AliasOrColumn(this string quotedExpr)
816816
{
817-
var aliasOrSelectColumn = quotedExpr.LastRightPart(" AS ");
818-
return aliasOrSelectColumn;
817+
var ret = quotedExpr.LastRightPart(" AS ").Trim();
818+
return ret;
819819
}
820820

821821
public static string StripDbQuotes(this string quotedExpr)

0 commit comments

Comments
 (0)