Skip to main content

Documentation index: llms.txt. This page is also available as markdown: append .md to this URL or send Accept: text/markdown.

GetTableQueriesScope

Allow to refine selection of the results using multiple scopes. Note: all scopes are additive

input GetTableQueriesScope {
databaseId: String
queryType: QueryType
schemaId: String
tableIds: [String!]
tableIdsFilterMode: SearchArrayFilterMode
warehouseId: String
}

Fields

GetTableQueriesScope.databaseId ● String scalar general

Scope by database ID

GetTableQueriesScope.queryType ● QueryType enum sql-queries

Filter by query type (SELECT or WRITE)

GetTableQueriesScope.schemaId ● String scalar general

Scope by schema ID

GetTableQueriesScope.tableIds ● [String!] list scalar general

Scope by specific table IDs (max 50 ids)

GetTableQueriesScope.tableIdsFilterMode ● SearchArrayFilterMode enum sql-queries

how to filter by table IDs - default is ALL

GetTableQueriesScope.warehouseId ● String scalar general

Scope by warehouse ID

Example

{
"databaseId": "fffe43cb-a92f-48d9-9527-3fcc4e5f6dba",
"queryType": "SELECT",
"schemaId": "fffe43cb-a92f-48d9-9527-3fcc4e5f6dba",
"tableIds": [
"fffe43cb-a92f-48d9-9527-3fcc4e5f6dba"
],
"tableIdsFilterMode": "ALL",
"warehouseId": "fffe43cb-a92f-48d9-9527-3fcc4e5f6dba"
}

Member Of