Restore the code

This commit is contained in:
sunkaixuan
2025-07-10 11:41:01 +08:00
parent 0e7d59aa6e
commit 15aec81e46
2 changed files with 6 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugar.ClickHouseCore</id>
<version>5.1.4.174</version>
<version>5.1.4.198</version>
<authors>sunkaixuan</authors>
<owners>Landa</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>

View File

@@ -216,7 +216,11 @@ namespace SqlSugar
}
public virtual object FormatValue(object value)
{
var N = string.Empty;
var N = "N";
if (this.Context.CurrentConnectionConfig.DbType == DbType.Sqlite)
{
N = "";
}
if (value == null)
{
return "NULL";