Zum Inhalt springen

queryResults

Executes a saved query or list view and returns the result rows with optional parameters and paging.

Type: QueryExecuteResult!

Arguments

  • forceRefresh: Boolean — Force refresh the query results and disable caching. Disabled by default.
  • id: UID — UID of the object to retrieve.
  • limit: Float — Limit number of results
  • listViewID: UID — UID of the list view to retrieve.
  • offset: Float — offset out of range
  • params: [QueryParamInput!] — Params for the operation.
  • resultKey: String — Fetch the rows of a specific (already completed) async run by its result key, instead of starting/looking up a run. Returned by queryRunStatus.
query($forceRefresh: Boolean, $id: UID, $limit: Float, $listViewID: UID, $offset: Float, $params: [QueryParamInput!], $resultKey: String) {
queryResults(forceRefresh: $forceRefresh, id: $id, limit: $limit, listViewID: $listViewID, offset: $offset, params: $params, resultKey: $resultKey) {
hasACLFiltered
hasMoreData
nextPageOffset
potentialColumns {
field
formattingType
headerText
type
}
result
totalCount
}
}