网站首页
编程语言
数据库
系统相关
其他分享
编程问答
dbFields
2024-10-15
go gorm通用分组统计
funcTest027_GeneralGroupStatMap(t*testing.T){dbRequest:=Default().SetTableName("contact_shop")dbRequest.OrderByDesc("id").SetPageSize(3)dbRequest.Ge("id",1)varresult,err=dbRequest.GroupStat(&quo