mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-31 18:46:36 +08:00
[SQLITE]使用事务批量提交一些缓存相关任务
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user