mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Restore the code
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugar.ClickHouseCore</id>
|
<id>SqlSugar.ClickHouseCore</id>
|
||||||
<version>5.1.4.174</version>
|
<version>5.1.4.198</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>Landa</owners>
|
<owners>Landa</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
@@ -216,7 +216,11 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public virtual object FormatValue(object value)
|
public virtual object FormatValue(object value)
|
||||||
{
|
{
|
||||||
var N = string.Empty;
|
var N = "N";
|
||||||
|
if (this.Context.CurrentConnectionConfig.DbType == DbType.Sqlite)
|
||||||
|
{
|
||||||
|
N = "";
|
||||||
|
}
|
||||||
if (value == null)
|
if (value == null)
|
||||||
{
|
{
|
||||||
return "NULL";
|
return "NULL";
|
||||||
|
Reference in New Issue
Block a user