This commit is contained in:
sunkaixuan 2024-03-21 05:46:41 +08:00
parent 40cef6cdd1
commit b41f30f878
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ namespace SqlSugar
db.CurrentConnectionConfig.MoreSettings = new ConnMoreSettings();
db.CurrentConnectionConfig.MoreSettings.DisableNvarchar = true;
var sql= db.Insertable(insertData).ToSqlString();
return (await ExecuteCommandAsync(sql)).Contains("OK")?1:0;
return (await ExecuteCommandAsync(sql)).ToUpper().Contains("OK")?1:0;
}
public int BulkCopy<T>(T insertData) where T : class, new()

View File

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