API Reference@grafana/runtimetoDataQueryResponse

toDataQueryResponse() function

toDataQueryResponse() function

Parse the results from /api/ds/query into a DataQueryResponse

Signature

export declare function toDataQueryResponse(res: any): DataQueryResponse;

Import

import { toDataQueryResponse } from '@grafana/runtime';

Parameters

Parameter Type Description
res any

Returns:

DataQueryResponse