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

Hasura.Backends.DataConnector.IR.OrderBy

Documentation

data OrderBy Source #

Instances

Instances details
Eq OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

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

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

Data OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderBy -> c OrderBy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderBy #

toConstr :: OrderBy -> Constr #

dataTypeOf :: OrderBy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrderBy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderBy) #

gmapT :: (forall b. Data b => b -> b) -> OrderBy -> OrderBy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderBy -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderBy -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrderBy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderBy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderBy -> m OrderBy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderBy -> m OrderBy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderBy -> m OrderBy #

Ord OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Show OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Generic OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Associated Types

type Rep OrderBy :: Type -> Type #

Methods

from :: OrderBy -> Rep OrderBy x #

to :: Rep OrderBy x -> OrderBy #

NFData OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

rnf :: OrderBy -> () #

Hashable OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

hashWithSalt :: Int -> OrderBy -> Int

hash :: OrderBy -> Int

ToJSON OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

toJSON :: OrderBy -> Value

toEncoding :: OrderBy -> Encoding

toJSONList :: [OrderBy] -> Value

toEncodingList :: [OrderBy] -> Encoding

Cacheable OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

From OrderBy OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

from :: OrderBy -> OrderBy0

type Rep OrderBy Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

type Rep OrderBy = D1 ('MetaData "OrderBy" "Hasura.Backends.DataConnector.IR.OrderBy" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "OrderBy" 'PrefixI 'True) (S1 ('MetaSel ('Just "_obRelations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap RelationshipName OrderByRelation)) :*: S1 ('MetaSel ('Just "_obElements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty OrderByElement))))

data OrderByRelation Source #

Instances

Instances details
Eq OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Data OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderByRelation -> c OrderByRelation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderByRelation #

toConstr :: OrderByRelation -> Constr #

dataTypeOf :: OrderByRelation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrderByRelation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderByRelation) #

gmapT :: (forall b. Data b => b -> b) -> OrderByRelation -> OrderByRelation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderByRelation -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderByRelation -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrderByRelation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderByRelation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderByRelation -> m OrderByRelation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderByRelation -> m OrderByRelation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderByRelation -> m OrderByRelation #

Ord OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Show OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Generic OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Associated Types

type Rep OrderByRelation :: Type -> Type #

NFData OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

rnf :: OrderByRelation -> () #

Hashable OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

ToJSON OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

toJSON :: OrderByRelation -> Value

toEncoding :: OrderByRelation -> Encoding

toJSONList :: [OrderByRelation] -> Value

toEncodingList :: [OrderByRelation] -> Encoding

Cacheable OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

From OrderByRelation OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

type Rep OrderByRelation Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

type Rep OrderByRelation = D1 ('MetaData "OrderByRelation" "Hasura.Backends.DataConnector.IR.OrderBy" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "OrderByRelation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_obrWhere") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Expression)) :*: S1 ('MetaSel ('Just "_obrSubrelations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap RelationshipName OrderByRelation))))

data OrderByElement Source #

Instances

Instances details
Eq OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Data OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderByElement -> c OrderByElement #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderByElement #

toConstr :: OrderByElement -> Constr #

dataTypeOf :: OrderByElement -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrderByElement) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderByElement) #

gmapT :: (forall b. Data b => b -> b) -> OrderByElement -> OrderByElement #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderByElement -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderByElement -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrderByElement -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderByElement -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderByElement -> m OrderByElement #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderByElement -> m OrderByElement #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderByElement -> m OrderByElement #

Ord OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Show OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Generic OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Associated Types

type Rep OrderByElement :: Type -> Type #

NFData OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

rnf :: OrderByElement -> () #

Hashable OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

ToJSON OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

toJSON :: OrderByElement -> Value

toEncoding :: OrderByElement -> Encoding

toJSONList :: [OrderByElement] -> Value

toEncodingList :: [OrderByElement] -> Encoding

Cacheable OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

From OrderByElement OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

type Rep OrderByElement Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

type Rep OrderByElement = D1 ('MetaData "OrderByElement" "Hasura.Backends.DataConnector.IR.OrderBy" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "OrderByElement" 'PrefixI 'True) (S1 ('MetaSel ('Just "_obeTargetPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RelationshipName]) :*: (S1 ('MetaSel ('Just "_obeTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OrderByTarget) :*: S1 ('MetaSel ('Just "_obeOrderDirection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OrderDirection))))

data OrderByTarget Source #

Instances

Instances details
Eq OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Data OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderByTarget -> c OrderByTarget #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderByTarget #

toConstr :: OrderByTarget -> Constr #

dataTypeOf :: OrderByTarget -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrderByTarget) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderByTarget) #

gmapT :: (forall b. Data b => b -> b) -> OrderByTarget -> OrderByTarget #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderByTarget -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderByTarget -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrderByTarget -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderByTarget -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderByTarget -> m OrderByTarget #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderByTarget -> m OrderByTarget #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderByTarget -> m OrderByTarget #

Ord OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Show OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Generic OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Associated Types

type Rep OrderByTarget :: Type -> Type #

NFData OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

rnf :: OrderByTarget -> () #

Hashable OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

ToJSON OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

toJSON :: OrderByTarget -> Value

toEncoding :: OrderByTarget -> Encoding

toJSONList :: [OrderByTarget] -> Value

toEncodingList :: [OrderByTarget] -> Encoding

Cacheable OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

From OrderByTarget OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

type Rep OrderByTarget Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

type Rep OrderByTarget = D1 ('MetaData "OrderByTarget" "Hasura.Backends.DataConnector.IR.OrderBy" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "OrderByColumn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name)) :+: (C1 ('MetaCons "OrderByStarCountAggregate" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrderBySingleColumnAggregate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SingleColumnAggregate))))

data OrderDirection Source #

Constructors

Ascending 
Descending 

Instances

Instances details
Eq OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Data OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderDirection -> c OrderDirection #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderDirection #

toConstr :: OrderDirection -> Constr #

dataTypeOf :: OrderDirection -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrderDirection) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderDirection) #

gmapT :: (forall b. Data b => b -> b) -> OrderDirection -> OrderDirection #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderDirection -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderDirection -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrderDirection -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderDirection -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderDirection -> m OrderDirection #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderDirection -> m OrderDirection #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderDirection -> m OrderDirection #

Ord OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Show OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Generic OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Associated Types

type Rep OrderDirection :: Type -> Type #

NFData OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

rnf :: OrderDirection -> () #

Hashable OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

ToJSON OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

Methods

toJSON :: OrderDirection -> Value

toEncoding :: OrderDirection -> Encoding

toJSONList :: [OrderDirection] -> Value

toEncodingList :: [OrderDirection] -> Encoding

Cacheable OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

From OrderDirection OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

From OrderDirection OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

type Rep OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.OrderBy

type Rep OrderDirection = D1 ('MetaData "OrderDirection" "Hasura.Backends.DataConnector.IR.OrderBy" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Ascending" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Descending" 'PrefixI 'False) (U1 :: Type -> Type))