update readme

This commit is contained in:
tangpanqing
2023-01-11 11:28:04 +08:00
parent aca0d94f63
commit 62d50a6af8
17 changed files with 419 additions and 393 deletions

View File

@@ -11,7 +11,7 @@ type FloatStruct struct {
}
// Count 聚合函数-数量
func (b *Builder) Count(fieldName string) (int64, error) {
func (b *Builder) Count(fieldName interface{}) (int64, error) {
var obj []IntStruct
err := b.SelectCount(fieldName, "c", "").GetMany(&obj)
if err != nil {