Skip to main content

DataSourceConnection

The Data Source connection object.

Learn more about pagination in GraphQL.

fields

  • pageInfo non-null PageInfo

    The connection's page info.

    The page info object used for pagination.

    • pageInfo.startCursor nullable String

      Points to the first item returned in the results. Used when paginating backward.

    • pageInfo.endCursor nullable String

      Points to the last item returned in the results. Used when paginating forward.

    • pageInfo.hasNextPage non-null Boolean

      A boolean that indicates whether a next page of results exists. Can be used to display a "next page" button in user interfaces, for example.

    • pageInfo.hasPreviousPage non-null Boolean

      A boolean that indicates whether a previous page of results exists. Can be used to display a "previous page" button in user interfaces, for example.

  • edges nullable array of DataSourceEdge

    The connection's edges.

    The Data Source edge object.

    Learn more about pagination in GraphQL.

  • nodes nullable array of DataSource

    The connection's nodes.

    The Data Source object.

    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.

    Learn more about Data Sources.

    • nodes.id non-null ID

      The Data Source's unique identifier.

    • nodes.uniqueName non-null String

      The Data Source's unique name.

    • nodes.description non-null String

      The Data Source's description.

    • nodes.account non-null Account

      The Data Source's Account.

    • nodes.environment non-null Environment

      The Data Source's Environment.

    • nodes.createdAt non-null DateTime

      The Data Source's creation date and time in UTC.

    • nodes.modifiedAt non-null DateTime

      The Data Source's last modification date and time in UTC.

    • nodes.createdBy non-null String

      The Data Source's creator. It can be either a User ID, an Application ID, or "system" if it was created by Propel.

    • nodes.modifiedBy non-null String

      The Data Source's last modifier. It can be either a User ID, an Application ID, or "system" if it was modified by Propel.

    • nodes.type non-null DataSourceType

      The Data Source's type.

      The types of Data Sources.

      • Snowflake

        Indicates a Snowflake Data Source.

      • Http

        Indicates an Http Data Source.

    • nodes.status non-null DataSourceStatus

      The Data Source's status.

      The status of a Data Source.

      • CREATED

        The Data Source has been created, but it is not connected yet.

      • CONNECTING

        Propel is attempting to connect the Data Source.

      • CONNECTED

        The Data Source is connected.

      • BROKEN

        The Data Source failed to connect.

      • DELETING

        Propel is deleting the Data Source.

    • nodes.connectionSettings non-null ConnectionSettings

      The Data Source's connection settings.


    • nodes.tables nullable TableConnection

      The tables contained within the Data Source, according to the most recent table introspection.

    • nodes.tableIntrospections nullable TableIntrospectionConnection

      A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.

    • nodes.checks nullable array of DataSourceCheck

      A list of checks performed on the Data Source during its most recent connection attempt.

    • nodes.dataPools nullable DataPoolConnection

      If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.

      The dataPools field 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.