dataSourcesUpdate mutation updates the data sources configuration for an existing domain by specifying tables and their relationships. This operation allows you to modify which tables are included in a domain and how they are connected through joins.
The input will overwrite any existing data sources that already existed. Treat the input as what the updated state of data sources should look like.
Signature
This mutation can only be executed by an administrator or a data administrator of the specific connection ID.
Arguments
Input object containing data sources update parameters. See DataSourcesUpdateInput.
DataSourcesUpdateInput
The unique identifier of the domain to update.
List of tables to include in the domain. See TableInput.
Response
Returns aDataSourcesUpdatePayload object containing:
Error, if any occurred.
null indicates success.Whether the update operation completed successfully.
Usage Example
Update a domain’s data sources with tables and their relationships:Related Operations
Create Domain
Create new domains for organizing data sources
TableInput Schema
Learn about table input structure and validation
JoinInput Schema
Understand join configuration and relationship types
DomainModel Schema
Explore domain structure and properties