Skip to content

Commit cb17679

Browse files
committed
feat(db): rename CleanQueryHook to ResetQueryHooks
1 parent 225bab0 commit cb17679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func (db *DB) AddQueryHook(hook QueryHook) {
235235
db.queryHooks = append(db.queryHooks, hook)
236236
}
237237

238-
func (db *DB) CleanQueryHook() {
238+
func (db *DB) ResetQueryHooks() {
239239
for i := range db.queryHooks {
240240
db.queryHooks[i] = nil
241241
}

0 commit comments

Comments
 (0)