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 >
|
||||
<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>
|
||||
|
@@ -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";
|
||||
|
Reference in New Issue
Block a user