OBJECT

DerivedDataQuery

link GraphQL Schema definition

  • type DerivedDataQuery {
  • # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
  • # and schema elements may change over future iterations.
  • #
  • # Arguments
  • # cachingHints: Document config to provide configurations of the
  • # downloaded document
  • # graphQLQuery: Optional embedded GraphQL query string to execute
  • # with variables passed in to this query - use this or the
  • # embedded entityQuery field.
  • #
  • # If pagination data is not provided the query must fetch all the data to be
  • # post-processed in one go, or the
  • # client must externalize the paging by returning the required pageInfo in the
  • # response and then using it to
  • # formulate a new separate query on a next page.
  • #
  • # Note: Pagination support is WIP, please use one-shot query until it is available
  • # graphQLQueryVariables: JSON of variables map to resolve the
  • # variables present in graphQLQuery field.
  • # Note: This should be used only when graphQL queryString is provided
  • # paginationData: We can use pagination by providing
  • # paginationData as input. User needs to declare a query variable
  • # for the after input parameter in the query, provide the variable name in
  • # pathToEndCursor, json path to hasNext
  • # and endCursor output fields in pageInfo, maxRowCount for the number of rows to
  • # be fetched,
  • # processingRules: Derive data from the result of the query
  • queryDerivedData(
  • cachingHints: DerivedDataCachingHintsInput,
  • graphQLQuery: String,
  • graphQLQueryVariables: JSON,
  • paginationData: DerivedDataPaginationInput,
  • processingRules: DerivedDataProcessingRulesInput
  • ): DerivedDataResponse!
  • }

link Require by