[SQLITE]使用事务批量提交一些缓存相关任务

This commit is contained in:
刘祥超
2022-08-17 21:04:00 +08:00
parent 9b6e022f46
commit e6ba44fb2f
5 changed files with 230 additions and 15 deletions

View File

@@ -80,3 +80,7 @@ func (this *DB) Close() error {
events.Remove(fmt.Sprintf("db_%p", this))
return this.rawDB.Close()
}
func (this *DB) RawDB() *sql.DB {
return this.rawDB
}