feat: 在 Gfdb 接口中添加 GetAll 方法
This commit is contained in:
@@ -436,6 +436,7 @@ var (
|
||||
)
|
||||
|
||||
type Gfdb interface {
|
||||
GetAll(ctx context.Context, sql string, args ...any) (gdb.Result, error)
|
||||
Exec(ctx context.Context, sql string, args ...any) (sql.Result, error)
|
||||
Model(ctx context.Context, tableNameOrStruct ...any) *model
|
||||
Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) error
|
||||
|
||||
Reference in New Issue
Block a user