优化
This commit is contained in:
parent
0b0e701bef
commit
b453910f82
|
@ -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"}}),
|
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user