mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-06 14:45:48 +08:00
refactor: dbm
This commit is contained in:
@@ -23,10 +23,16 @@ type DumpDb struct {
|
||||
LogId uint64
|
||||
|
||||
Writer io.WriteCloser
|
||||
Log func(msg string)
|
||||
TargetDbType dbi.DbType
|
||||
|
||||
Log func(msg string)
|
||||
Progress func(currentTable string, stmtType dbi.StmtType, stmtCount int, currentStmtTypeEnd bool) // dump进度
|
||||
}
|
||||
|
||||
func DefaultDumpLog(msg string) {
|
||||
|
||||
}
|
||||
|
||||
func DefaultDumpProgress(currentTable string, stmtType dbi.StmtType, stmtCount int, currentStmtTypeEnd bool) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user