This commit is contained in:
xing 2023-02-06 19:07:55 +08:00
parent 0b0e701bef
commit b453910f82

View File

@ -178,7 +178,7 @@ func MonthPost(args ...any) (r []uint64, err error) {
return model.Column[models.Posts, uint64](ctx, func(v models.Posts) (uint64, bool) { return model.Column[models.Posts, uint64](ctx, func(v models.Posts) (uint64, bool) {
return v.Id, true return v.Id, true
}, model.Conditions( }, model.Conditions(
model.Fields("ID"),
model.Where(where), model.Where(where),
model.Order(model.SqlBuilder{{"Id", "asc"}}),
)) ))
} }