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

Hasura.RQL.Types.QueryCollection

Documentation

newtype CollectionName Source #

Instances

Instances details
Eq CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Ord CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Show CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Generic CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Associated Types

type Rep CollectionName :: Type -> Type #

Hashable CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

FromJSON CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

parseJSON :: Value -> Parser CollectionName

parseJSONList :: Value -> Parser [CollectionName]

ToJSONKey CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toJSONKey :: ToJSONKeyFunction CollectionName

toJSONKeyList :: ToJSONKeyFunction [CollectionName]

ToJSON CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toJSON :: CollectionName -> Value

toEncoding :: CollectionName -> Encoding

toJSONList :: [CollectionName] -> Value

toEncodingList :: [CollectionName] -> Encoding

ToTxt CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toTxt :: CollectionName -> Text Source #

FromCol CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

ToPrepArg CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toPrepVal :: CollectionName -> PrepArg

type Rep CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep CollectionName = D1 ('MetaData "CollectionName" "Hasura.RQL.Types.QueryCollection" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "CollectionName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unCollectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NonEmptyText)))

newtype QueryName Source #

Constructors

QueryName 

Instances

Instances details
Eq QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Ord QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Show QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Generic QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Associated Types

type Rep QueryName :: Type -> Type #

NFData QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

rnf :: QueryName -> () #

Hashable QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

FromJSON QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

parseJSON :: Value -> Parser QueryName

parseJSONList :: Value -> Parser [QueryName]

ToJSONKey QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toJSONKey :: ToJSONKeyFunction QueryName

toJSONKeyList :: ToJSONKeyFunction [QueryName]

ToJSON QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toJSON :: QueryName -> Value

toEncoding :: QueryName -> Encoding

toJSONList :: [QueryName] -> Value

toEncodingList :: [QueryName] -> Encoding

ToTxt QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toTxt :: QueryName -> Text Source #

Cacheable QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep QueryName = D1 ('MetaData "QueryName" "Hasura.RQL.Types.QueryCollection" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "QueryName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unQueryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NonEmptyText)))

newtype GQLQuery Source #

Constructors

GQLQuery 

Fields

Instances

Instances details
Eq GQLQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Ord GQLQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Show GQLQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

NFData GQLQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

rnf :: GQLQuery -> () #

Hashable GQLQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

FromJSON GQLQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

parseJSON :: Value -> Parser GQLQuery

parseJSONList :: Value -> Parser [GQLQuery]

ToJSON GQLQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toJSON :: GQLQuery -> Value

toEncoding :: GQLQuery -> Encoding

toJSONList :: [GQLQuery] -> Value

toEncodingList :: [GQLQuery] -> Encoding

Cacheable GQLQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

newtype GQLQueryWithText Source #

Constructors

GQLQueryWithText (Text, GQLQuery) 

Instances

Instances details
Eq GQLQueryWithText Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Ord GQLQueryWithText Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Show GQLQueryWithText Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Generic GQLQueryWithText Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Associated Types

type Rep GQLQueryWithText :: Type -> Type #

NFData GQLQueryWithText Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

rnf :: GQLQueryWithText -> () #

Hashable GQLQueryWithText Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

FromJSON GQLQueryWithText Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

parseJSON :: Value -> Parser GQLQueryWithText

parseJSONList :: Value -> Parser [GQLQueryWithText]

ToJSON GQLQueryWithText Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Cacheable GQLQueryWithText Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep GQLQueryWithText Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep GQLQueryWithText = D1 ('MetaData "GQLQueryWithText" "Hasura.RQL.Types.QueryCollection" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "GQLQueryWithText" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Text, GQLQuery))))

data ListedQuery Source #

Instances

Instances details
Eq ListedQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Show ListedQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Generic ListedQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Associated Types

type Rep ListedQuery :: Type -> Type #

NFData ListedQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

rnf :: ListedQuery -> () #

Hashable ListedQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

FromJSON ListedQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

parseJSON :: Value -> Parser ListedQuery

parseJSONList :: Value -> Parser [ListedQuery]

ToJSON ListedQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toJSON :: ListedQuery -> Value

toEncoding :: ListedQuery -> Encoding

toJSONList :: [ListedQuery] -> Value

toEncodingList :: [ListedQuery] -> Encoding

Cacheable ListedQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep ListedQuery Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep ListedQuery = D1 ('MetaData "ListedQuery" "Hasura.RQL.Types.QueryCollection" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ListedQuery" 'PrefixI 'True) (S1 ('MetaSel ('Just "_lqName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QueryName) :*: S1 ('MetaSel ('Just "_lqQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GQLQueryWithText)))

newtype CollectionDef Source #

Constructors

CollectionDef 

Fields

Instances

Instances details
Eq CollectionDef Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Show CollectionDef Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Generic CollectionDef Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Associated Types

type Rep CollectionDef :: Type -> Type #

NFData CollectionDef Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

rnf :: CollectionDef -> () #

FromJSON CollectionDef Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

parseJSON :: Value -> Parser CollectionDef

parseJSONList :: Value -> Parser [CollectionDef]

ToJSON CollectionDef Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toJSON :: CollectionDef -> Value

toEncoding :: CollectionDef -> Encoding

toJSONList :: [CollectionDef] -> Value

toEncodingList :: [CollectionDef] -> Encoding

Cacheable CollectionDef Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep CollectionDef Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep CollectionDef = D1 ('MetaData "CollectionDef" "Hasura.RQL.Types.QueryCollection" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "CollectionDef" 'PrefixI 'True) (S1 ('MetaSel ('Just "_cdQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ListedQuery])))

data CreateCollection Source #

Instances

Instances details
Eq CreateCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Show CreateCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Generic CreateCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Associated Types

type Rep CreateCollection :: Type -> Type #

FromJSON CreateCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

parseJSON :: Value -> Parser CreateCollection

parseJSONList :: Value -> Parser [CreateCollection]

ToJSON CreateCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep CreateCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep CreateCollection = D1 ('MetaData "CreateCollection" "Hasura.RQL.Types.QueryCollection" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "CreateCollection" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ccName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CollectionName) :*: (S1 ('MetaSel ('Just "_ccDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CollectionDef) :*: S1 ('MetaSel ('Just "_ccComment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

collectionQueries :: CreateCollection -> [ExecutableDocument Name] Source #

data RenameCollection Source #

Instances

Instances details
Eq RenameCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Show RenameCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Generic RenameCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Associated Types

type Rep RenameCollection :: Type -> Type #

FromJSON RenameCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

parseJSON :: Value -> Parser RenameCollection

parseJSONList :: Value -> Parser [RenameCollection]

ToJSON RenameCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep RenameCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

type Rep RenameCollection = D1 ('MetaData "RenameCollection" "Hasura.RQL.Types.QueryCollection" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RenameCollection" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rcName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CollectionName) :*: S1 ('MetaSel ('Just "_rcNewName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CollectionName)))

data DropCollection Source #

Instances

Instances details
Eq DropCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Show DropCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

FromJSON DropCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

parseJSON :: Value -> Parser DropCollection

parseJSONList :: Value -> Parser [DropCollection]

ToJSON DropCollection Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toJSON :: DropCollection -> Value

toEncoding :: DropCollection -> Encoding

toJSONList :: [DropCollection] -> Value

toEncodingList :: [DropCollection] -> Encoding