# Function useExecutePivotQuery Beta
useExecutePivotQuery(...
args
):PivotQueryState
React hook that executes a data query for a pivot table.
This approach is similar to React Query's useQuery
hook.
# Example
Execute a pivot query on the Sample ECommerce data model and display the results in a table.
# Parameters
Parameter | Type |
---|---|
...args | [ExecutePivotQueryParams ] |
# Returns
Query state that contains the status of the query execution, the result data, or the error if any occurred