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

Hasura.RQL.IR.OrderBy

Documentation

data OrderByCol Source #

Instances

Instances details
Eq OrderByCol Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

Show OrderByCol Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

FromJSON OrderByCol Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

Methods

parseJSON :: Value -> Parser OrderByCol

parseJSONList :: Value -> Parser [OrderByCol]

data OrderByItemG (b :: BackendType) a Source #

Instances

Instances details
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 #

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) #

(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, Show a) => Show (OrderByItemG b a) Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

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, Hashable a) => Hashable (OrderByItemG b a) Source # 
Instance details

Defined in Hasura.RQL.IR.OrderBy

Methods

hashWithSalt :: Int -> OrderByItemG b a -> Int

hash :: OrderByItemG b a -> Int

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))))))