mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 15:56:16 -06:00
well i guess we'll get rid of the useful but unused function then, linter. fine, i see how it is!
This commit is contained in:
parent
bd2a589028
commit
b1b1955527
1 changed files with 0 additions and 5 deletions
|
|
@ -35,11 +35,6 @@ import (
|
|||
"github.com/uptrace/bun/schema"
|
||||
)
|
||||
|
||||
// formatQuery formats given query + args according to given bun dialect, useful for debug logging.
|
||||
func formatQuery(d schema.Dialect, query string, args ...any) string {
|
||||
return schema.NewFormatter(d).FormatQuery(query, args...)
|
||||
}
|
||||
|
||||
// convertEnums performs a transaction that converts
|
||||
// a table's column of our old-style enums (strings) to
|
||||
// more performant and space-saving integer types.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue