Skip to content

Commit 1f6e16f

Browse files
committed
- 调整 KingbaseES bool 类型解析为 true/false;
1 parent 055fb01 commit 1f6e16f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Providers/FreeSql.Provider.KingbaseES/KingbaseESAdo/KingbaseESAdo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public override object AddslashesProcessParam(object param, Type mapType, Column
5151

5252
bool isdic;
5353
if (param is bool || param is bool?)
54-
return (bool)param ? "'t'" : "'f'";
54+
return (bool)param ? "TRUE" : "FALSE";
5555
else if (param is string)
5656
return string.Concat("'", param.ToString().Replace("'", "''"), "'");
5757
else if (param is char)

0 commit comments

Comments
 (0)