Skip to main content
Version: v3.x (DDN)

DDN CLI: ddn model

Perform Model-related operations.

Synopsis

Models represent a collection of data objects within a data domain. To learn more, check out the docs: https://hasura.io/docs/3.0/reference/metadata-reference/models/

Alias: models

Available operations

  • ddn model add - Add new Models to the local metadata
  • ddn model list - Lists details about the collections of DataConnectorLink, and their corresponding Models
  • ddn model remove - Removes Models (and related metadata) in the local metadata
  • ddn model show - Show diff between the model and its corresponding ndc collection
  • ddn model update - Update Models in the local metadata

Options

-h, --help   help for model

Options inherited from parent operations

--log-level string   Log level. Can be DEBUG, WARN, INFO, ERROR, or FATAL. (default "INFO")
--no-prompt Do not prompt for required but missing flags
--out string Output format. Can be table, json or yaml. (default "table")
--timeout int Request timeout in seconds [env: HASURA_DDN_TIMEOUT] (default 100)

Parent operation

  • ddn - DDN Command Line Interface