dataSources
This query returns the Data Sources within the Environment.
A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source. Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads.
The dataSources
query uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first
and after
or last
and before
to page forward or backward through the results, respectively.
For forward pagination, the first
parameter defines the number of results to return, and the after
parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after
.
For backward pagination, the last
parameter defines the number of results to return, and the before
parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before
.
Arguments
Returns
Nullable DataSourceConnection
The Data Source connection object.
Learn more about pagination in GraphQL.
dataSources.edges non-null array of DataSourceEdge
The Data Source connection's edges.
dataSources.nodes non-null array of DataSource
The Data Source connection's nodes.
dataSources.pageInfo non-null PageInfo
The Data Source connection's page info.