Updated
Reference for the pgdesign introspect command — usage, flags, arguments, and examples for the introspect subcommand of the pgdesign CLI.
#pgdesign introspect
Introspect a live PostgreSQL database into TOML schema
Effect: mutating
#Flags
| Name | Short | Type | Default | Env | Description |
|---|---|---|---|---|---|
--db | str | PGDESIGN_DB | PostgreSQL connection URL for the target database server | ||
--schema | str | PostgreSQL schema name(s) to introspect (repeatable) | |||
--output | str | Write output to a file at this path instead of stdout | |||
--extensions | bool | Discover extension types, functions, and opclasses |