This commit is contained in:
tangpanqing
2023-01-06 07:12:36 +08:00
parent 0cac8714dc
commit 9beffba8ed
5 changed files with 21 additions and 9 deletions

View File

@@ -461,7 +461,7 @@ func testHaving(driver string, db *sql.DB) {
GroupBy(&person.Age).
WhereEq(&person.Type, 0).
OrderBy(&person.Age, builder.Desc).
HavingGt(builder.Count, &person.Age, 4).
HavingGt(&personAge.AgeCount, 4).
GetMany(&listByHaving)
if err != nil {
panic(driver + " testHaving " + "found err")