graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.RQL.DML.Types

Documentation

newtype OrderByExp Source #

Constructors

OrderByExp 

Instances

Instances details
Eq OrderByExp Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Show OrderByExp Source # 
Instance details

Defined in Hasura.RQL.DML.Types

FromJSON OrderByExp Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser OrderByExp

parseJSONList :: Value -> Parser [OrderByExp]

data DMLQuery a Source #

Instances

Instances details
Eq a => Eq (DMLQuery a) Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

(==) :: DMLQuery a -> DMLQuery a -> Bool #

(/=) :: DMLQuery a -> DMLQuery a -> Bool #

Show a => Show (DMLQuery a) Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

showsPrec :: Int -> DMLQuery a -> ShowS #

show :: DMLQuery a -> String #

showList :: [DMLQuery a] -> ShowS #

FromJSON a => FromJSON (DMLQuery a) Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser (DMLQuery a)

parseJSONList :: Value -> Parser [DMLQuery a]

data SelectG a b c Source #

Constructors

SelectG 

Instances

Instances details
(Eq a, Eq b, Eq c) => Eq (SelectG a b c) Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

(==) :: SelectG a b c -> SelectG a b c -> Bool #

(/=) :: SelectG a b c -> SelectG a b c -> Bool #

(Show a, Show b, Show c) => Show (SelectG a b c) Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

showsPrec :: Int -> SelectG a b c -> ShowS #

show :: SelectG a b c -> String #

showList :: [SelectG a b c] -> ShowS #

(FromJSON a, FromJSON b, FromJSON c) => FromJSON (SelectG a b c) Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser (SelectG a b c)

parseJSONList :: Value -> Parser [SelectG a b c]

data Wildcard Source #

Constructors

Star 
StarDot Wildcard 

Instances

Instances details
Eq Wildcard Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Ord Wildcard Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Show Wildcard Source # 
Instance details

Defined in Hasura.RQL.DML.Types

data SelCol Source #

Instances

Instances details
Eq SelCol Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

(==) :: SelCol -> SelCol -> Bool #

(/=) :: SelCol -> SelCol -> Bool #

Show SelCol Source # 
Instance details

Defined in Hasura.RQL.DML.Types

FromJSON SelCol Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser SelCol

parseJSONList :: Value -> Parser [SelCol]

type InsObj b = ColumnValues b Value Source #

data ConflictAction Source #

Constructors

CAIgnore 
CAUpdate 

Instances

Instances details
Eq ConflictAction Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Show ConflictAction Source # 
Instance details

Defined in Hasura.RQL.DML.Types

FromJSON ConflictAction Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser ConflictAction

parseJSONList :: Value -> Parser [ConflictAction]

newtype ConstraintOn Source #

Constructors

ConstraintOn 

Fields

Instances

Instances details
Eq ConstraintOn Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Show ConstraintOn Source # 
Instance details

Defined in Hasura.RQL.DML.Types

FromJSON ConstraintOn Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser ConstraintOn

parseJSONList :: Value -> Parser [ConstraintOn]

data OnConflict Source #

Instances

Instances details
Eq OnConflict Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Show OnConflict Source # 
Instance details

Defined in Hasura.RQL.DML.Types

FromJSON OnConflict Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser OnConflict

parseJSONList :: Value -> Parser [OnConflict]

data InsertQuery Source #

Instances

Instances details
Eq InsertQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Show InsertQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

FromJSON InsertQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser InsertQuery

parseJSONList :: Value -> Parser [InsertQuery]

type UpdVals b = ColumnValues b Value Source #

data UpdateQuery Source #

Instances

Instances details
Eq UpdateQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Show UpdateQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

FromJSON UpdateQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser UpdateQuery

parseJSONList :: Value -> Parser [UpdateQuery]

data DeleteQuery Source #

Instances

Instances details
Eq DeleteQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Show DeleteQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

FromJSON DeleteQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser DeleteQuery

parseJSONList :: Value -> Parser [DeleteQuery]

data CountQuery Source #

Instances

Instances details
Eq CountQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Show CountQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

FromJSON CountQuery Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser CountQuery

parseJSONList :: Value -> Parser [CountQuery]

data QueryT Source #

Instances

Instances details
Eq QueryT Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

(==) :: QueryT -> QueryT -> Bool #

(/=) :: QueryT -> QueryT -> Bool #

Show QueryT Source # 
Instance details

Defined in Hasura.RQL.DML.Types

FromJSON QueryT Source # 
Instance details

Defined in Hasura.RQL.DML.Types

Methods

parseJSON :: Value -> Parser QueryT

parseJSONList :: Value -> Parser [QueryT]