don't use bun.Ident where not needed

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

View file

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