[feature/performance] sqlite pragma optimize on close (#2596)

* wrap database drivers in order to handle error processing, hooks, etc

* remove dead code

* add code comment, remove unused blank imports
This commit is contained in:
kim
2024-02-07 14:43:27 +00:00
committed by GitHub
parent b6fe8e7a5b
commit 6738fd5bb0
31 changed files with 372 additions and 660 deletions

View File

@@ -27,7 +27,7 @@ import (
)
type basicDB struct {
db *DB
db *bun.DB
}
func (b *basicDB) Put(ctx context.Context, i interface{}) error {