DDN CLI: ddn connector-link update
Fetch NDC details from the Connector and update the DataConnectorLink.
Synopsis
Fetch NDC details from the Connector and update the DataConnectorLink
ddn connector-link update <connector-link-name> [flags]
Examples
# Update the schema of a DataConnectorLink 'mydb' for Subgraph config 'app'
ddn connector-link update mydb --subgraph ./app/subgraph.yaml
# Update the schema of a DataConnectorLink 'mydb' and add all Models and Commands to the metadata for Subgraph config 'app'
ddn connector-link update mydb --add-all-resources --subgraph ./app/subgraph.yaml
Options
--add-all-resources Add all Models and Commands from the updated DataConnectorLink to the local metadata
--ci Disables the use of context
-c, --context string Name of the context to use. (default <current_context>)
-e, --env stringArray Environment variable, e.g. key=val. Can be repeated to provide multiple env vars
--env-file stringArray Path to .env file. Can be repeated to provide multiple env files
-h, --help help for update
--subgraph string Path to Subgraph config file
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 connector-link - Perform DataConnectorLink related operations