This commit is contained in:
2024-08-21 21:11:19 +08:00
parent 3b1e7c7232
commit ce189a9067
2 changed files with 12 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import (
"context"
"errors"
"git.zhangdeman.cn/zhangdeman/consts"
"git.zhangdeman.cn/zhangdeman/database/abstract"
"git.zhangdeman.cn/zhangdeman/database/define"
)
@ -19,6 +20,16 @@ var (
)
type execute struct {
databaseClientManager abstract.IWrapperClient // 全部数据库管理的实例
}
// SetDatabaseClientManager 设置数据库连接管理实例
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 21:06 2024/8/21
func (e *execute) SetDatabaseClientManager(databaseClientManager abstract.IWrapperClient) {
e.databaseClientManager = databaseClientManager
}
// Run 执行