@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
7 lines (6 loc) • 405 B
TypeScript
import type { Accountability, Query, SchemaOverview } from '@directus/types';
import type { SelectionNode } from 'graphql';
/**
* Resolve the aggregation query based on the requested aggregated fields
*/
export declare function getAggregateQuery(rawQuery: Query, selections: readonly SelectionNode[], schema: SchemaOverview, accountability?: Accountability | null, collection?: string): Promise<Query>;