MCPcopy Create free account
hub / github.com/bytebase/bytebase / disjoint

Function disjoint

backend/plugin/parser/plsql/restore.go:202–209  ·  view source on GitHub ↗
(a []string, b map[string]bool)

Source from the content-addressed store, hash-verified

200}
201
202func disjoint(a []string, b map[string]bool) bool {
203 for _, item := range a {
204 if _, ok := b[item]; ok {
205 return false
206 }
207 }
208 return true
209}
210
211func (g *generator) findDisjointUniqueKey(columns []string) ([]string, error) {
212 columnMap := make(map[string]bool)

Callers 1

findDisjointUniqueKeyMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected