Update nav query

This commit is contained in:
sunkaixuan
2025-10-20 14:32:50 +08:00
parent 84e5f483f6
commit 33f81f4b14
2 changed files with 2 additions and 1 deletions

View File

@@ -164,6 +164,7 @@ namespace SqlSugar
{
var copyDb = this.Clone();
copyDb.QueryBuilder.OrderByValue = null;
copyDb.QueryBuilder.Includes = null;
var list = await copyDb.Select<int>(" COUNT(1) ").ToListAsync();
return list.FirstOrDefault();
}

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.206-preview19</version>
<version>5.1.4.206-preview22</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>