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

Hasura.RQL.IR.OrderBy

Documentation

data OrderByItemG (b :: BackendType) a Source #

Instances

Instances details
Foldable (OrderByItemG b) Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

Methods

fold :: Monoid m => OrderByItemG b m -> m #

foldMap :: Monoid m => (a -> m) -> OrderByItemG b a -> m #

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

foldr :: (a -> b0 -> b0) -> b0 -> OrderByItemG b a -> b0 #

foldr' :: (a -> b0 -> b0) -> b0 -> OrderByItemG b a -> b0 #

foldl :: (b0 -> a -> b0) -> b0 -> OrderByItemG b a -> b0 #

foldl' :: (b0 -> a -> b0) -> b0 -> OrderByItemG b a -> b0 #

foldr1 :: (a -> a -> a) -> OrderByItemG b a -> a #

foldl1 :: (a -> a -> a) -> OrderByItemG b a -> a #

toList :: OrderByItemG b a -> [a] #

null :: OrderByItemG b a -> Bool #

length :: OrderByItemG b a -> Int #

elem :: Eq a => a -> OrderByItemG b a -> Bool #

maximum :: Ord a => OrderByItemG b a -> a #

minimum :: Ord a => OrderByItemG b a -> a #

sum :: Num a => OrderByItemG b a -> a #

product :: Num a => OrderByItemG b a -> a #

Traversable (OrderByItemG b) Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

Methods

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

sequenceA :: Applicative f => OrderByItemG b (f a) -> f (OrderByItemG b a) #

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

sequence :: Monad m => OrderByItemG b (m a) -> m (OrderByItemG b a) #

Functor (OrderByItemG b) Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

Methods

fmap :: (a -> b0) -> OrderByItemG b a -> OrderByItemG b b0 #

(<$) :: a -> OrderByItemG b b0 -> OrderByItemG b a #

Generic (OrderByItemG b a) Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

Associated Types

type Rep (OrderByItemG b a) :: Type -> Type #

Methods

from :: OrderByItemG b a -> Rep (OrderByItemG b a) x #

to :: Rep (OrderByItemG b a) x -> OrderByItemG b a #

(Backend b, Show a) => Show (OrderByItemG b a) Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

(Backend b, Eq a) => Eq (OrderByItemG b a) Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

Methods

(==) :: OrderByItemG b a -> OrderByItemG b a -> Bool #

(/=) :: OrderByItemG b a -> OrderByItemG b a -> Bool #

(Backend b, Hashable a) => Hashable (OrderByItemG b a) Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

type Rep (OrderByItemG b a) Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

type Rep (OrderByItemG b a) = D1 ('MetaData "OrderByItemG" "Hasura.RQL.IR.OrderBy" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "OrderByItemG" 'PrefixI 'True) (S1 ('MetaSel ('Just "obiType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (BasicOrderType b))) :*: (S1 ('MetaSel ('Just "obiColumn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel ('Just "obiNulls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NullsOrderType b))))))