{-# LANGUAGE UndecidableInstances #-}
module Hasura.Backends.Postgres.Types.Insert
( BackendInsert (..),
)
where
import Hasura.Prelude
import Hasura.RQL.IR.Conflict (OnConflictClause)
import Hasura.RQL.Types.Backend (Backend)
import Hasura.RQL.Types.BackendType
newtype BackendInsert pgKind v = BackendInsert
{ forall (pgKind :: PostgresKind) v.
BackendInsert pgKind v
-> Maybe (OnConflictClause ('Postgres pgKind) v)
_biConflictClause :: Maybe (OnConflictClause ('Postgres pgKind) v)
}
deriving instance (Backend ('Postgres pgKind)) => Functor (BackendInsert pgKind)
deriving instance (Backend ('Postgres pgKind)) => Foldable (BackendInsert pgKind)
deriving instance (Backend ('Postgres pgKind)) => Traversable (BackendInsert pgKind)