diff --git a/logs/database_logs.go b/logs/database_logs.go index ea44f577c230a10c1c80c4f3c2f28d09ed44fd58..ecec9f782c9b93b129c483e31ddc73f04afc259e 100644 --- a/logs/database_logs.go +++ b/logs/database_logs.go @@ -32,7 +32,7 @@ func (d QueryHook) AfterQuery(_ context.Context, event *bun.QueryEvent) { } if d.Debug || shouldLogQuery { - InfoWithFields(map[string]interface{}{"sql`": sqlQuery, "t": queryDuration.String()}, "") + InfoWithFields(map[string]interface{}{"sql": sqlQuery, "t": queryDuration.String()}, "") } return }