TDV Adapter for GraphQL

Build 22.0.8462

Modeling GraphQL Data

This section shows how to control the various schemas that the adapter offers to bridge the gap between relational SQL and GraphQL services.

Schema Introspection

GraphQL services offer a introspection query service which the adapter can use to obtain view and column names.

All SCALAR mutation fields are exposed directly, and all object fields are expanded.

Mutations

The adapter will automatically scan for available Using Mutations. Given that there is no method provided by GraphQL for determining which mutations can be used for each table, each mutation is exposed as a stored procedure.

LIST fields are exposed as temporary tables (GraphQL tables of type TEMPORARY_TABLE). The discovered temporary tables can be obtained by querying the sys_tables and sys_tablecolumns system tables.

Customizing Schemas

Operations details the process for configuring custom schema files. Setting up these custom schema files is a required step in establishing a connection to GraphQL data.

System Tables

See System Tables to query the current table metadata.

Stored Procedures

The adapter makes use of Stored Procedures to perform various functions, such as obtaining and refreshing OAuth tokens.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462