forgejo/models/db
zeripath 4909493a9f
Allow manager logging to set SQL (#20064)
This PR adds a new manager command to switch on SQL logging and to turn it off.

```
gitea manager logging log-sql
gitea manager logging log-sql --off
```

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-06-24 12:49:47 +02:00
..
install
paginator
consistency.go
context.go Adjust transaction handling via db.Context (#20031) 2022-06-20 14:38:58 +02:00
convert.go
engine.go Allow manager logging to set SQL (#20064) 2022-06-24 12:49:47 +02:00
engine_test.go
error.go
index.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
list_options.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
log.go Allow manager logging to set SQL (#20064) 2022-06-24 12:49:47 +02:00
main_test.go
name.go
search.go
sequence.go
sql_postgres_with_schema.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00