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

Function writeColumnCommentDiff

backend/plugin/schema/pg/metadata_migration.go:1415–1417  ·  view source on GitHub ↗
(out *strings.Builder, schemaName, tableName, columnName, comment string)

Source from the content-addressed store, hash-verified

1413}
1414
1415func writeColumnCommentDiff(out *strings.Builder, schemaName, tableName, columnName, comment string) error {
1416 return writeComment(out, fmt.Sprintf("COLUMN \"%s\".\"%s\".\"%s\"", schemaName, tableName, columnName), comment)
1417}
1418
1419func writeCommentDiff(out *strings.Builder, commentDiff *schema.CommentDiff) error {
1420 switch commentDiff.ObjectType {

Callers 1

writeAlterColumnDiffFunction · 0.85

Calls 1

writeCommentFunction · 0.85

Tested by

no test coverage detected