graphql-engine/server/src-lib/Hasura/Backends/Postgres/Instances/SchemaCache.hs
2023-04-24 18:37:33 +00:00

15 lines
668 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.BackendType (BackendType (Postgres))
import Hasura.RQL.Types.SchemaCache.AggregationPredicates (defaultGetAggregationPredicateDeps)
import Hasura.RQL.Types.SchemaCacheTypes (GetAggregationPredicatesDeps (..))
instance (Backend ('Postgres pgKind)) => GetAggregationPredicatesDeps ('Postgres pgKind) where
getAggregationPredicateDeps = defaultGetAggregationPredicateDeps