Intro
The Domo DataSet Query connector allows you to query data from an existing Domo DataSet. This connector is designed for simple queries with hard limitations of one million records to be returned from your query and a 60 second time out. You configure the Domo DataSet Query connector in the Data Center. This topic discusses the fields and menus that are specific to the Domo DataSet Query connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in Adding a DataSet Using a Data Connector.Prerequisites
To configure this connector, you must have a Domo Client ID and Client Secret. To obtain these credentials, do the following:- Log into your Domo developer account at https://developer.domo.com/login.
- Create a new client.
- Select the desired data and user application scope.
- Click Create.
Configuring the connection
This section enumerates the options in the Credentials and Details panes in the Domo DataSet Query Connector page. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.Credentials Pane
This pane contains fields for entering credentials to connect to your Domo developer account. The following table describes what is needed for each field:Field | Description |
|---|---|
Domo Client ID | Enter your Domo client ID. |
Domo Client Secret | Enter your Domo client secret. |
Details Pane
This pane contains a primary Reports menu, along with various fields and menus for configuring your query.Menu | Description | ||
|---|---|---|---|
Report | Select the report you want to run. Currently only a single report is available.
| ||
DataSet Selection | Select whether you want to select your DataSet from a list or manually by inputting its ID. | ||
DataSet | Select the DataSet you want to query against. | ||
DataSet ID | Enter the ID of the DataSet you want to query against. You can find the ID by opening the details view for the DataSet in the Data Center and looking at the portion of the URL following datasources/ . For example, in the URL https://mycompany.domo.com/datasources/845305d8-da3d-4107-a9d6-13ef3f86d4a4/details/overview , the DataSet ID is 845305d8-da3d-4107-a9d6-13ef3f86d4a4 . | ||
Query | Enter your SQL query. Note that you must use a backtick (`) to enclose column names with spaces. You should also use single quotes (’) when quotes are necessary. |
Other Panes
For information about the remaining sections of the connector interface, including how to configure scheduling, retry, and update options, see Adding a DataSet Using a Data Connector.FAQs
What should I be aware of when writing a query?
What should I be aware of when writing a query?
- Be sure to use single quote characters (’) when quotes are necessary.
- Use backticks (`) to enclose column names with spaces.