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

Hasura.RQL.DDL.DataConnector

Description

This module provides operations to load and modify metadata relating to GraphQL Data Connectors.

Synopsis

Documentation

data DCAddAgent Source #

Constructors

DCAddAgent 

Fields

Instances

Instances details
FromJSON DCAddAgent Source # 
Instance details

Defined in Hasura.RQL.DDL.DataConnector

Methods

parseJSON :: Value -> Parser DCAddAgent

parseJSONList :: Value -> Parser [DCAddAgent]

ToJSON DCAddAgent Source # 
Instance details

Defined in Hasura.RQL.DDL.DataConnector

Methods

toJSON :: DCAddAgent -> Value

toEncoding :: DCAddAgent -> Encoding

toJSONList :: [DCAddAgent] -> Value

toEncodingList :: [DCAddAgent] -> Encoding

runAddDataConnectorAgent :: MetadataM m => DCAddAgent -> m EncJSON Source #

Insert a new Data Connector Agent into Metadata.

data DCDeleteAgent Source #

Constructors

DCDeleteAgent 

Instances

Instances details
FromJSON DCDeleteAgent Source # 
Instance details

Defined in Hasura.RQL.DDL.DataConnector

Methods

parseJSON :: Value -> Parser DCDeleteAgent

parseJSONList :: Value -> Parser [DCDeleteAgent]

ToJSON DCDeleteAgent Source # 
Instance details

Defined in Hasura.RQL.DDL.DataConnector

Methods

toJSON :: DCDeleteAgent -> Value

toEncoding :: DCDeleteAgent -> Encoding

toJSONList :: [DCDeleteAgent] -> Value

toEncodingList :: [DCDeleteAgent] -> Encoding