2022-08-19 18:40:26 +03:00
|
|
|
{-# 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
|
2023-04-24 21:35:48 +03:00
|
|
|
import Hasura.RQL.Types.BackendType (BackendType (Postgres))
|
2022-08-24 14:58:53 +03:00
|
|
|
import Hasura.RQL.Types.SchemaCache.AggregationPredicates (defaultGetAggregationPredicateDeps)
|
|
|
|
import Hasura.RQL.Types.SchemaCacheTypes (GetAggregationPredicatesDeps (..))
|
2022-08-19 18:40:26 +03:00
|
|
|
|
2022-08-24 14:58:53 +03:00
|
|
|
instance (Backend ('Postgres pgKind)) => GetAggregationPredicatesDeps ('Postgres pgKind) where
|
|
|
|
getAggregationPredicateDeps = defaultGetAggregationPredicateDeps
|