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

Hasura.RQL.DDL.Schema.Source

Synopsis

Documentation

data AddSource b Source #

Instances

Instances details
Backend b => FromJSONWithContext (BackendSourceKind b) (AddSource b) Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Source

data RenameSource Source #

Instances

Instances details
FromJSON RenameSource Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Source

Generic RenameSource Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Source

Associated Types

type Rep RenameSource :: Type -> Type #

type Rep RenameSource Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Source

type Rep RenameSource = D1 ('MetaData "RenameSource" "Hasura.RQL.DDL.Schema.Source" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RenameSource" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SourceName) :*: S1 ('MetaSel ('Just "_rmNewName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SourceName)))

runGetSourceTrackables :: forall b m r. (BackendMetadata b, CacheRM m, MonadError QErr m, MetadataM m, MonadIO m, MonadBaseControl IO m, MonadReader r m, Has (Logger Hasura) r, ProvidesNetwork m) => GetSourceTrackables b -> m EncJSON Source #

Fetch a list of tables for the request data source.

runGetSourceTables :: forall b m r. (BackendMetadata b, CacheRM m, MonadError QErr m, MetadataM m, MonadIO m, MonadBaseControl IO m, MonadReader r m, Has (Logger Hasura) r, ProvidesNetwork m) => GetSourceTables b -> m EncJSON Source #

Fetch a list of tables for the request data source.

runGetTableInfo_ :: (CacheRM m, MonadError QErr m, MetadataM m, MonadBaseControl IO m, MonadIO m) => GetTableInfo_ -> m EncJSON Source #

Legacy data connector command. This doesn't use the DataConnector ScalarType to represent types.

data GetTableInfo (b :: BackendType) Source #

Instances

Instances details
Backend b => FromJSON (GetTableInfo b) Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Source

runGetTableInfo :: forall b m. (BackendMetadata b, CacheRM m, MonadError QErr m, MetadataM m, MonadBaseControl IO m, MonadIO m) => GetTableInfo b -> m EncJSON Source #

Get information about the given table.