graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.Backends.DataConnector.Adapter.Types.Mutations

Synopsis

Documentation

data BackendInsert v Source #

The Data Connector-specific data of an Insert expression. Currently, we don't have any.

This is parameterised over v which enables different phases of IR transformation to maintain the overall structure while enriching/transforming the data at the leaves.

Constructors

BackendInsert 

Instances

Instances details
Foldable BackendInsert Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types.Mutations

Methods

fold :: Monoid m => BackendInsert m -> m #

foldMap :: Monoid m => (a -> m) -> BackendInsert a -> m #

foldMap' :: Monoid m => (a -> m) -> BackendInsert a -> m #

foldr :: (a -> b -> b) -> b -> BackendInsert a -> b #

foldr' :: (a -> b -> b) -> b -> BackendInsert a -> b #

foldl :: (b -> a -> b) -> b -> BackendInsert a -> b #

foldl' :: (b -> a -> b) -> b -> BackendInsert a -> b #

foldr1 :: (a -> a -> a) -> BackendInsert a -> a #

foldl1 :: (a -> a -> a) -> BackendInsert a -> a #

toList :: BackendInsert a -> [a] #

null :: BackendInsert a -> Bool #

length :: BackendInsert a -> Int #

elem :: Eq a => a -> BackendInsert a -> Bool #

maximum :: Ord a => BackendInsert a -> a #

minimum :: Ord a => BackendInsert a -> a #

sum :: Num a => BackendInsert a -> a #

product :: Num a => BackendInsert a -> a #

Traversable BackendInsert Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types.Mutations

Methods

traverse :: Applicative f => (a -> f b) -> BackendInsert a -> f (BackendInsert b) #

sequenceA :: Applicative f => BackendInsert (f a) -> f (BackendInsert a) #

mapM :: Monad m => (a -> m b) -> BackendInsert a -> m (BackendInsert b) #

sequence :: Monad m => BackendInsert (m a) -> m (BackendInsert a) #

Functor BackendInsert Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types.Mutations

Methods

fmap :: (a -> b) -> BackendInsert a -> BackendInsert b #

(<$) :: a -> BackendInsert b -> BackendInsert a #

data DataConnectorUpdateVariant v Source #

Instances

Instances details
Backend 'DataConnector => Foldable DataConnectorUpdateVariant Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types.Mutations

Methods

fold :: Monoid m => DataConnectorUpdateVariant m -> m #

foldMap :: Monoid m => (a -> m) -> DataConnectorUpdateVariant a -> m #

foldMap' :: Monoid m => (a -> m) -> DataConnectorUpdateVariant a -> m #

foldr :: (a -> b -> b) -> b -> DataConnectorUpdateVariant a -> b #

foldr' :: (a -> b -> b) -> b -> DataConnectorUpdateVariant a -> b #

foldl :: (b -> a -> b) -> b -> DataConnectorUpdateVariant a -> b #

foldl' :: (b -> a -> b) -> b -> DataConnectorUpdateVariant a -> b #

foldr1 :: (a -> a -> a) -> DataConnectorUpdateVariant a -> a #

foldl1 :: (a -> a -> a) -> DataConnectorUpdateVariant a -> a #

toList :: DataConnectorUpdateVariant a -> [a] #

null :: DataConnectorUpdateVariant a -> Bool #

length :: DataConnectorUpdateVariant a -> Int #

elem :: Eq a => a -> DataConnectorUpdateVariant a -> Bool #

maximum :: Ord a => DataConnectorUpdateVariant a -> a #

minimum :: Ord a => DataConnectorUpdateVariant a -> a #

sum :: Num a => DataConnectorUpdateVariant a -> a #

product :: Num a => DataConnectorUpdateVariant a -> a #

Backend 'DataConnector => Traversable DataConnectorUpdateVariant Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types.Mutations

Backend 'DataConnector => Functor DataConnectorUpdateVariant Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types.Mutations

data UpdateOperator v Source #

The operators that are used to mutate specific columns on a table

Instances

Instances details
Foldable UpdateOperator Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types.Mutations

Methods

fold :: Monoid m => UpdateOperator m -> m #

foldMap :: Monoid m => (a -> m) -> UpdateOperator a -> m #

foldMap' :: Monoid m => (a -> m) -> UpdateOperator a -> m #

foldr :: (a -> b -> b) -> b -> UpdateOperator a -> b #

foldr' :: (a -> b -> b) -> b -> UpdateOperator a -> b #

foldl :: (b -> a -> b) -> b -> UpdateOperator a -> b #

foldl' :: (b -> a -> b) -> b -> UpdateOperator a -> b #

foldr1 :: (a -> a -> a) -> UpdateOperator a -> a #

foldl1 :: (a -> a -> a) -> UpdateOperator a -> a #

toList :: UpdateOperator a -> [a] #

null :: UpdateOperator a -> Bool #

length :: UpdateOperator a -> Int #

elem :: Eq a => a -> UpdateOperator a -> Bool #

maximum :: Ord a => UpdateOperator a -> a #

minimum :: Ord a => UpdateOperator a -> a #

sum :: Num a => UpdateOperator a -> a #

product :: Num a => UpdateOperator a -> a #

Traversable UpdateOperator Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types.Mutations

Methods

traverse :: Applicative f => (a -> f b) -> UpdateOperator a -> f (UpdateOperator b) #

sequenceA :: Applicative f => UpdateOperator (f a) -> f (UpdateOperator a) #

mapM :: Monad m => (a -> m b) -> UpdateOperator a -> m (UpdateOperator b) #

sequence :: Monad m => UpdateOperator (m a) -> m (UpdateOperator a) #

Functor UpdateOperator Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types.Mutations

Methods

fmap :: (a -> b) -> UpdateOperator a -> UpdateOperator b #

(<$) :: a -> UpdateOperator b -> UpdateOperator a #