graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.GraphQL.Schema.BoolExp.AggregationPredicates

Description

This module defines the schema aspect of the default implementation of aggregation predicates.

Synopsis

Documentation

defaultAggregationPredicatesParser :: forall b r m n. (MonadBuildSchema b r m n, AggregationPredicatesSchema b) => [FunctionSignature b] -> TableInfo b -> SchemaT r m (Maybe (InputFieldsParser n [AggregationPredicatesImplementation b (UnpreparedValue b)])) Source #

This function is meant to serve as the default schema for Aggregation Predicates represented in the IR by the type AggregationPredicates.