mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 21:12:09 +03:00
29b6ea54c0
This does not yet enable Aggregation Predicates to users, but enables building the execution backend and tests of the schema. This is a prerequisite for: * #5174 * #5261 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5607 GitOrigin-RevId: e07beb01949724545131629c111d41a7ec4636f2
15 lines
658 B
Haskell
15 lines
658 B
Haskell
{-# LANGUAGE UndecidableInstances #-}
|
|
{-# OPTIONS_GHC -Wno-orphans #-}
|
|
|
|
-- This module houses type class instances on the Postgres backends that relate
|
|
-- to the Schema Cache.
|
|
module Hasura.Backends.Postgres.Instances.SchemaCache () where
|
|
|
|
import Hasura.RQL.Types.Backend
|
|
import Hasura.RQL.Types.SchemaCache.AggregationPredicates (defaultGetAggregationPredicateDeps)
|
|
import Hasura.RQL.Types.SchemaCacheTypes (GetAggregationPredicatesDeps (..))
|
|
import Hasura.SQL.Backend (BackendType (Postgres))
|
|
|
|
instance (Backend ('Postgres pgKind)) => GetAggregationPredicatesDeps ('Postgres pgKind) where
|
|
getAggregationPredicateDeps = defaultGetAggregationPredicateDeps
|