mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 22:26:15 -06:00
fix code comment
This commit is contained in:
parent
3f342f8549
commit
bd2a589028
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ import (
|
||||||
"github.com/uptrace/bun/schema"
|
"github.com/uptrace/bun/schema"
|
||||||
)
|
)
|
||||||
|
|
||||||
// formatQuery formats given query + args according to given bun dialect, using for debug logging.
|
// formatQuery formats given query + args according to given bun dialect, useful for debug logging.
|
||||||
func formatQuery(d schema.Dialect, query string, args ...any) string {
|
func formatQuery(d schema.Dialect, query string, args ...any) string {
|
||||||
return schema.NewFormatter(d).FormatQuery(query, args...)
|
return schema.NewFormatter(d).FormatQuery(query, args...)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue