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

Hasura.RQL.DDL.Schema.Source

Documentation

data RenameSource Source #

Instances

Instances details
FromJSON RenameSource Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Source

Methods

parseJSON :: Value -> Parser RenameSource

parseJSONList :: Value -> Parser [RenameSource]

data DropSource Source #

Constructors

DropSource 

Instances

Instances details
Eq DropSource Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Source

Show DropSource Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Source

FromJSON DropSource Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Source

Methods

parseJSON :: Value -> Parser DropSource

parseJSONList :: Value -> Parser [DropSource]

runDropSource :: forall m r. (MonadError QErr m, CacheRWM m, MonadIO m, MonadBaseControl IO m, MetadataM m, MonadReader r m, Has (Logger Hasura) r) => DropSource -> m EncJSON Source #

dropSource :: forall m r b. (MonadError QErr m, CacheRWM m, MonadIO m, MonadBaseControl IO m, MetadataM m, MonadReader r m, Has (Logger Hasura) r, BackendMetadata b) => SchemaCache -> DropSource -> SourceInfo b -> m () Source #

runPostDropSourceHook :: forall m r b. (MonadError QErr m, MonadIO m, MonadBaseControl IO m, MonadReader r m, Has (Logger Hasura) r, BackendMetadata b) => SourceName -> SourceInfo b -> m () Source #