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

Function writeCommentChanges

backend/plugin/schema/pg/metadata_migration.go:923–930  ·  view source on GitHub ↗
(out *strings.Builder, diff *schema.MetadataDiff)

Source from the content-addressed store, hash-verified

921}
922
923func writeCommentChanges(out *strings.Builder, diff *schema.MetadataDiff) error {
924 for _, commentDiff := range diff.CommentChanges {
925 if err := writeCommentDiff(out, commentDiff); err != nil {
926 return err
927 }
928 }
929 return nil
930}
931
932func writeTableDiff(out *strings.Builder, tableDiff *schema.TableDiff) error {
933 switch tableDiff.Action {

Callers 1

writeCreateOrAlterPhaseFunction · 0.85

Calls 1

writeCommentDiffFunction · 0.85

Tested by

no test coverage detected