mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
chore(server): add logs to begin/end transaction
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
15a3d2ca66
commit
5fa19f9cfa
8 changed files with 29 additions and 15 deletions
|
@ -41,6 +41,6 @@ type DataStore interface {
|
|||
|
||||
Resource(ctx context.Context, model interface{}) ResourceRepository
|
||||
|
||||
WithTx(func(tx DataStore) error) error
|
||||
WithTx(block func(tx DataStore) error, scope ...string) error
|
||||
GC(ctx context.Context) error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue