!112 fix: count(*)

Merge pull request !112 from 王帅/main
This commit is contained in:
Michael Yang 2023-07-07 03:29:30 +00:00 committed by Gitee
commit 59fbf32208
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2326,7 +2326,7 @@ public class QueryMethods {
* 返回指定列的总行数
*/
public static FunctionQueryColumn count() {
return new FunctionQueryColumn(COUNT);
return new FunctionQueryColumn(COUNT, new StringQueryColumn("*"));
}
/**