mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update .Count
This commit is contained in:
parent
b4d5d49c4d
commit
319c6e62f1
@ -1047,7 +1047,8 @@ namespace SqlSugar
|
||||
if (this.QueryBuilder.Skip == null&&
|
||||
this.QueryBuilder.Take == null&&
|
||||
this.QueryBuilder.OrderByValue == null &&
|
||||
this.QueryBuilder.PartitionByValue == null)
|
||||
this.QueryBuilder.PartitionByValue == null&&
|
||||
this.QueryBuilder.SelectValue==null)
|
||||
{
|
||||
|
||||
return this.Clone().Select<int>(" COUNT(1) ").ToList().First();
|
||||
|
Loading…
Reference in New Issue
Block a user