refactor(database): 移除 IDao 接口中的 Columns 方法
- 从 IDao 接口中删除了 Columns() 方法定义 - 简化了接口结构,移除了不再需要的列查询功能 - 保持了其他核心方法如 DB、TableName、Group 等不变 - 减少了接口的复杂性,提高了代码的可维护性main v1.0.2005
parent
550f82bd1b
commit
ab2f85b8ed
|
|
@ -7,7 +7,6 @@ import (
|
|||
type IDao interface {
|
||||
DB() DB
|
||||
TableName() string
|
||||
Columns() interface{}
|
||||
Group() string
|
||||
Ctx(ctx context.Context) *Model
|
||||
Transaction(ctx context.Context, f func(ctx context.Context, tx TX) error) (err error)
|
||||
|
|
|
|||
Loading…
Reference in New Issue