GetSchema

vtctldclient GetSchema

Displays the full schema for a tablet, optionally restricted to the specified tables/views.

  1. vtctldclient GetSchema [--tables TABLES ...] [--exclude-tables EXCLUDE_TABLES ...] [{--table-names-only | --table-sizes-only}] [--include-views] alias

Options

  1. --exclude-tables /regexp/ List of tables to exclude from the result. Each is either an exact match, or a regular expression of the form /regexp/.
  2. -h, --help help for GetSchema
  3. --include-views Includes views in the output in addition to base tables.
  4. -n, --table-names-only Display only table names in the result.
  5. --table-schema-only Skip introspecting columns and fields metadata.
  6. -s, --table-sizes-only Display only size information for matching tables. Ignored if --table-names-only is set.
  7. --tables /regexp/ List of tables to display the schema for. Each is either an exact match, or a regular expression of the form /regexp/.

Options inherited from parent commands

  1. --action_timeout duration timeout for the total command (default 1h0m0s)
  2. --server string server to use for connection (required)

SEE ALSO

  • vtctldclient - Executes a cluster management command on the remote vtctld server.