PgBeam
PgBeam Docs
annotations

annotations set

Create or replace a schema annotation

Attaches an operator-written description to a table (omit column_name) or a column. Keyed by (schema_name, table_name, column_name); an existing annotation with the same key is replaced.

Usage

pgbeam annotations set [flags]

Options

OptionDescriptionRequiredDefault
--schema-name <value>Optional schema. Null or empty matches the unqualified form.No-
--table-name <value>Relation (table or view) the annotation describes.Yes-
--column-name <value>Optional column. Null describes the table itself.No-
--description <value>The operator-written description text.Yes-

Global options

All global options (--token, --profile, --project, --org, --json, --no-color, --no-trunc, --debug) are also available on this command.

Examples

# Create or replace a schema annotation
pgbeam annotations set

# Output as JSON
pgbeam annotations set --json

Output

Renders a human-readable table or detail view by default; pass --json for the raw API response.

On this page