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

Function convertForeignKeyMatchType

backend/plugin/db/redshift/sync.go:184–195  ·  view source on GitHub ↗
(in string)

Source from the content-addressed store, hash-verified

182}
183
184func convertForeignKeyMatchType(in string) string {
185 switch in {
186 case "f":
187 return "FULL"
188 case "p":
189 return "PARTIAL"
190 case "s":
191 return "SIMPLE"
192 default:
193 return in
194 }
195}
196
197func convertForeignKeyActionCode(in string) string {
198 switch in {

Callers 1

getForeignKeysFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected