don't use bun.Ident where not needed

This commit is contained in:
kim 2025-01-08 11:34:46 +00:00
parent 44ee9421a0
commit fc9f99666e

View file

@ -45,9 +45,7 @@ func init() {
).
Where("? NOT LIKE concat(?, ?, ?)",
bun.Ident("status.edits"),
bun.Ident("%"),
bun.Ident("status_edit.id"),
bun.Ident("%"),
"%", bun.Ident("status_edit.id"), "%",
).
Scan(ctx, &edits); err != nil {
return err