MCPcopy Create free account
hub / github.com/actiontech/dtle / IgnoreTbByReplicateIgnoreDb

Function IgnoreTbByReplicateIgnoreDb

driver/common/tabletypes.go:81–92  ·  view source on GitHub ↗
(replicateIgnoreDb []*DataSource, dbName, tbName string)

Source from the content-addressed store, hash-verified

79}
80
81func IgnoreTbByReplicateIgnoreDb(replicateIgnoreDb []*DataSource, dbName, tbName string) bool {
82 for _, ignoreDb := range replicateIgnoreDb {
83 if ignoreDb.TableSchema == dbName {
84 for _, ignoreTb := range ignoreDb.Tables {
85 if ignoreTb.TableName == tbName {
86 return true
87 }
88 }
89 }
90 }
91 return false
92}
93
94type Table struct {
95 TableName string

Callers 3

inspectTablesMethod · 0.92
inspectTablesMethod · 0.92
skipQueryDDLMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected