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

Hasura.RQL.DDL.ScheduledTrigger

Synopsis

Documentation

runCreateCronTrigger :: (MonadError QErr m, CacheRWM m, MonadIO m, MetadataM m, MonadMetadataStorage m) => CreateCronTrigger -> m EncJSON Source #

runCreateCronTrigger will update a existing cron trigger when the replace value is set to true and when replace is false a new cron trigger will be created

runGetCronTriggers :: MetadataM m => m EncJSON Source #

Metadata API handler to retrieve all the cron triggers from the metadata