Chore: Remove unused method in db.DB (#90433)

* remove unused method

* clean up tests
This commit is contained in:
Serge Zaitsev
2024-07-17 08:17:23 +02:00
committed by GitHub
parent c13002ee8c
commit f5da9edbba
4 changed files with 4 additions and 18 deletions
-3
View File
@@ -24,9 +24,6 @@ type DB interface {
// through [context.Context] or if that's not present, as non-transactional database
// operations.
WithDbSession(ctx context.Context, callback sqlstore.DBTransactionFunc) error
// WithNewDbSession behaves like [DB.WithDbSession] without picking up a transaction
// from the context.
WithNewDbSession(ctx context.Context, callback sqlstore.DBTransactionFunc) error
// GetDialect returns an object that contains information about the peculiarities of
// the particular database type available to the runtime.
GetDialect() migrator.Dialect