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

Function hasCreateFunctions

backend/plugin/schema/mssql/generate_migration.go:1478–1485  ·  view source on GitHub ↗
(diff *schema.MetadataDiff)

Source from the content-addressed store, hash-verified

1476}
1477
1478func hasCreateFunctions(diff *schema.MetadataDiff) bool {
1479 for _, funcDiff := range diff.FunctionChanges {
1480 if funcDiff.Action == schema.MetadataDiffActionCreate {
1481 return true
1482 }
1483 }
1484 return false
1485}
1486
1487func hasCreateProcedures(diff *schema.MetadataDiff) bool {
1488 for _, procDiff := range diff.ProcedureChanges {

Callers 1

generateMigrationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected