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

Hasura.StoredProcedure.Types

Description

Types for stored procedures.

Synopsis

Documentation

data StoredProcedureConfig Source #

Tracked stored procedure configuration, and payload of the 'pg_track_stored procedure'.

Constructors

StoredProcedureConfig 

Fields

Instances

Instances details
FromJSON StoredProcedureConfig Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

ToJSON StoredProcedureConfig Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

HasCodec StoredProcedureConfig Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

Generic StoredProcedureConfig Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

Associated Types

type Rep StoredProcedureConfig :: Type -> Type #

Show StoredProcedureConfig Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

NFData StoredProcedureConfig Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

Methods

rnf :: StoredProcedureConfig -> () #

Eq StoredProcedureConfig Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

type Rep StoredProcedureConfig Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

type Rep StoredProcedureConfig = D1 ('MetaData "StoredProcedureConfig" "Hasura.StoredProcedure.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "StoredProcedureConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "_spcExposedAs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StoredProcedureExposedAs) :*: S1 ('MetaSel ('Just "_spcCustomName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Name))))

data StoredProcedureExposedAs Source #

Indicates whether the user requested the corresponding stored procedure to be tracked as a mutation or a query, in track_stored_procedure. currently only query is supported.

Constructors

SPEAQuery 

Instances

Instances details
FromJSON StoredProcedureExposedAs Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

ToJSON StoredProcedureExposedAs Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

HasCodec StoredProcedureExposedAs Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

Generic StoredProcedureExposedAs Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

Associated Types

type Rep StoredProcedureExposedAs :: Type -> Type #

Show StoredProcedureExposedAs Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

NFData StoredProcedureExposedAs Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

Eq StoredProcedureExposedAs Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

type Rep StoredProcedureExposedAs Source # 
Instance details

Defined in Hasura.StoredProcedure.Types

type Rep StoredProcedureExposedAs = D1 ('MetaData "StoredProcedureExposedAs" "Hasura.StoredProcedure.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "SPEAQuery" 'PrefixI 'False) (U1 :: Type -> Type))