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
|
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
|
|
|
import Hasura.SQL.Backend (BackendType (Postgres))
|
|
|
|
|
2022-08-24 14:58:53 +03:00
|
|
|
instance (Backend ('Postgres pgKind)) => GetAggregationPredicatesDeps ('Postgres pgKind) where
|
|
|
|
getAggregationPredicateDeps = defaultGetAggregationPredicateDeps
|