grafana/pkg/infra/db
Kristin Laemmert cc007e9727
chore: sqlstore cleanup (#60415)
* chore: remove unused test helper from sqlstore

TimeNow() is no longer used in any tests in this package.

* chore: move sqlstore.SQLBuilder to the infra/db package

This required some minor refactoring; we need to be a little more explicit about passing around the dialect and engine. On the other hand, that's a few fewer uses of the `dialect` global constant!

* chore: move UserDeletions into the only package using it

* cleanup around moving sqlbuilder

* remove dialect and sqlog global vars

* rename userDeletions to serviceAccountDeletions
2022-12-16 11:09:06 -05:00
..
dbtest Chore: Add Quote function in DB (#58594) 2022-11-23 18:40:58 +01:00
db.go chore: sqlstore cleanup (#60415) 2022-12-16 11:09:06 -05:00
sqlbuilder_test.go chore: sqlstore cleanup (#60415) 2022-12-16 11:09:06 -05:00
sqlbuilder.go chore: sqlstore cleanup (#60415) 2022-12-16 11:09:06 -05:00