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

Hasura.Backends.DataConnector.Adapter.Types

Synopsis

Documentation

data ConnSourceConfig Source #

Constructors

ConnSourceConfig 

Fields

  • value :: Config

    An arbitrary JSON payload to be passed to the agent in a header. HGE validates this against the OpenAPI Spec provided by the agent.

  • template :: Maybe Text

    Kriti Template for transforming the supplied Config value.

  • timeout :: Maybe SourceTimeout

    Timeout setting for HTTP requests to the agent. -- TODO: verify with lyndon

Instances

Instances details
FromJSON ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

HasCodec ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep ConnSourceConfig :: Type -> Type #

Show ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: ConnSourceConfig -> () #

Eq ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ConnSourceConfig = D1 ('MetaData "ConnSourceConfig" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ConnSourceConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Config) :*: (S1 ('MetaSel ('Just "template") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceTimeout)))))

data SourceTimeout Source #

Instances

Instances details
FromJSON SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

HasCodec SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep SourceTimeout :: Type -> Type #

Show SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: SourceTimeout -> () #

Eq SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep SourceTimeout = D1 ('MetaData "SourceTimeout" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "SourceTimeoutSeconds" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "SourceTimeoutMilliseconds" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "SourceTimeoutMicroseconds" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

data FunctionReturnType Source #

This represents what information can be known about the return type of a user-defined function. For now, either the return type will be the name of a table that exists in the schema, or Unknown - implying that this information can be derived from another source, or if there is no other source, then it is an error. In future, this type may be extended with additional constructors including scalar and row types from the Logical Models feature.

Note: This is very similar to ComputedFieldReturnType defined above. The two types may be unified in future.

Instances

Instances details
FromJSON FunctionReturnType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON FunctionReturnType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

HasCodec FunctionReturnType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic FunctionReturnType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep FunctionReturnType :: Type -> Type #

Show FunctionReturnType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData FunctionReturnType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: FunctionReturnType -> () #

Eq FunctionReturnType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable FunctionReturnType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToSchema FunctionReturnType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep FunctionReturnType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep FunctionReturnType = D1 ('MetaData "FunctionReturnType" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "FunctionReturnsTable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableName)) :+: C1 ('MetaCons "FunctionReturnsUnknown" 'PrefixI 'False) (U1 :: Type -> Type))

data DataConnectorOptions Source #

Instances

Instances details
FromJSON DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

HasCodec DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep DataConnectorOptions :: Type -> Type #

Show DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Eq DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep DataConnectorOptions = D1 ('MetaData "DataConnectorOptions" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "DataConnectorOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dcoUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseUrl) :*: S1 ('MetaSel ('Just "_dcoDisplayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data DataConnectorInfo Source #

Instances

Instances details
FromJSON DataConnectorInfo Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON DataConnectorInfo Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic DataConnectorInfo Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep DataConnectorInfo :: Type -> Type #

Show DataConnectorInfo Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Eq DataConnectorInfo Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep DataConnectorInfo Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep DataConnectorInfo = D1 ('MetaData "DataConnectorInfo" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "DataConnectorInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dciOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataConnectorOptions) :*: S1 ('MetaSel ('Just "_dciCapabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Capabilities)) :*: (S1 ('MetaSel ('Just "_dciConfigSchemaResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConfigSchemaResponse) :*: (S1 ('MetaSel ('Just "_dciDisplayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_dciReleaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newtype TableName Source #

The fully qualified name of a table. The last element in the list is the table name and all other elements represent namespacing of the table name. For example, for a database that has schemas, the name would be '[schema,name]'

Constructors

TableName 

Instances

Instances details
FromJSON TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSONKey TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

HasCodec TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Data TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableName -> c TableName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableName #

toConstr :: TableName -> Constr #

dataTypeOf :: TableName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableName) #

gmapT :: (forall b. Data b => b -> b) -> TableName -> TableName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableName -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableName -> r #

gmapQ :: (forall d. Data d => d -> u) -> TableName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TableName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableName -> m TableName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableName -> m TableName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableName -> m TableName #

Generic TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep TableName :: Type -> Type #

Show TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: TableName -> () #

Eq TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToErrorValue TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToTxt TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

toTxt :: TableName -> Text Source #

From TableName TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From TableName TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep TableName = D1 ('MetaData "TableName" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "TableName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Text))))

newtype ConstraintName Source #

Constructors

ConstraintName 

Instances

Instances details
FromJSON ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

FromJSONKey ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSONKey ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Data ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ConstraintName -> c ConstraintName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ConstraintName #

toConstr :: ConstraintName -> Constr #

dataTypeOf :: ConstraintName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ConstraintName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ConstraintName) #

gmapT :: (forall b. Data b => b -> b) -> ConstraintName -> ConstraintName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ConstraintName -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ConstraintName -> r #

gmapQ :: (forall d. Data d => d -> u) -> ConstraintName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ConstraintName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ConstraintName -> m ConstraintName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ConstraintName -> m ConstraintName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ConstraintName -> m ConstraintName #

Generic ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep ConstraintName :: Type -> Type #

Show ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: ConstraintName -> () #

Eq ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToErrorValue ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToTxt ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From ConstraintName ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From ConstraintName ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ConstraintName = D1 ('MetaData "ConstraintName" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ConstraintName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unConstraintName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype ColumnName Source #

Constructors

ColumnName 

Fields

Instances

Instances details
FromJSON ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

FromJSONKey ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSONKey ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

HasCodec ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Data ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColumnName -> c ColumnName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColumnName #

toConstr :: ColumnName -> Constr #

dataTypeOf :: ColumnName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ColumnName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColumnName) #

gmapT :: (forall b. Data b => b -> b) -> ColumnName -> ColumnName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColumnName -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColumnName -> r #

gmapQ :: (forall d. Data d => d -> u) -> ColumnName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ColumnName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColumnName -> m ColumnName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnName -> m ColumnName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnName -> m ColumnName #

Generic ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep ColumnName :: Type -> Type #

Show ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: ColumnName -> () #

Eq ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToErrorValue ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToTxt ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From ColumnName ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From ColumnName ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ColumnName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ColumnName = D1 ('MetaData "ColumnName" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ColumnName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unColumnName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype FunctionName Source #

Constructors

FunctionName 

Instances

Instances details
FromJSON FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSONKey FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

HasCodec FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Data FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FunctionName -> c FunctionName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FunctionName #

toConstr :: FunctionName -> Constr #

dataTypeOf :: FunctionName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FunctionName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FunctionName) #

gmapT :: (forall b. Data b => b -> b) -> FunctionName -> FunctionName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FunctionName -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FunctionName -> r #

gmapQ :: (forall d. Data d => d -> u) -> FunctionName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FunctionName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FunctionName -> m FunctionName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FunctionName -> m FunctionName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FunctionName -> m FunctionName #

Generic FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep FunctionName :: Type -> Type #

Show FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: FunctionName -> () #

Eq FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToErrorValue FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToTxt FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From FunctionName FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From FunctionName FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From (NonEmpty Text) FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep FunctionName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep FunctionName = D1 ('MetaData "FunctionName" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "FunctionName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unFunctionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Text))))

data ArgumentExp a Source #

Constructors

AEInput a

Table row accessor AETableRow | -- | Hardcoded reference to hdb_catalog.hdb_action_log.response_payload AEActionResponsePayload | -- | JSON/JSONB hasura session variable object AESession a |

Instances

Instances details
Foldable ArgumentExp Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

fold :: Monoid m => ArgumentExp m -> m #

foldMap :: Monoid m => (a -> m) -> ArgumentExp a -> m #

foldMap' :: Monoid m => (a -> m) -> ArgumentExp a -> m #

foldr :: (a -> b -> b) -> b -> ArgumentExp a -> b #

foldr' :: (a -> b -> b) -> b -> ArgumentExp a -> b #

foldl :: (b -> a -> b) -> b -> ArgumentExp a -> b #

foldl' :: (b -> a -> b) -> b -> ArgumentExp a -> b #

foldr1 :: (a -> a -> a) -> ArgumentExp a -> a #

foldl1 :: (a -> a -> a) -> ArgumentExp a -> a #

toList :: ArgumentExp a -> [a] #

null :: ArgumentExp a -> Bool #

length :: ArgumentExp a -> Int #

elem :: Eq a => a -> ArgumentExp a -> Bool #

maximum :: Ord a => ArgumentExp a -> a #

minimum :: Ord a => ArgumentExp a -> a #

sum :: Num a => ArgumentExp a -> a #

product :: Num a => ArgumentExp a -> a #

Traversable ArgumentExp Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

traverse :: Applicative f => (a -> f b) -> ArgumentExp a -> f (ArgumentExp b) #

sequenceA :: Applicative f => ArgumentExp (f a) -> f (ArgumentExp a) #

mapM :: Monad m => (a -> m b) -> ArgumentExp a -> m (ArgumentExp b) #

sequence :: Monad m => ArgumentExp (m a) -> m (ArgumentExp a) #

Functor ArgumentExp Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

fmap :: (a -> b) -> ArgumentExp a -> ArgumentExp b #

(<$) :: a -> ArgumentExp b -> ArgumentExp a #

Generic (ArgumentExp a) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep (ArgumentExp a) :: Type -> Type #

Methods

from :: ArgumentExp a -> Rep (ArgumentExp a) x #

to :: Rep (ArgumentExp a) x -> ArgumentExp a #

Show a => Show (ArgumentExp a) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Eq a => Eq (ArgumentExp a) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable a => Hashable (ArgumentExp a) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep (ArgumentExp a) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep (ArgumentExp a) = D1 ('MetaData "ArgumentExp" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "AEInput" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a)))

data CountAggregate v Source #

Instances

Instances details
Backend 'DataConnector => Foldable CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

fold :: Monoid m => CountAggregate m -> m #

foldMap :: Monoid m => (a -> m) -> CountAggregate a -> m #

foldMap' :: Monoid m => (a -> m) -> CountAggregate a -> m #

foldr :: (a -> b -> b) -> b -> CountAggregate a -> b #

foldr' :: (a -> b -> b) -> b -> CountAggregate a -> b #

foldl :: (b -> a -> b) -> b -> CountAggregate a -> b #

foldl' :: (b -> a -> b) -> b -> CountAggregate a -> b #

foldr1 :: (a -> a -> a) -> CountAggregate a -> a #

foldl1 :: (a -> a -> a) -> CountAggregate a -> a #

toList :: CountAggregate a -> [a] #

null :: CountAggregate a -> Bool #

length :: CountAggregate a -> Int #

elem :: Eq a => a -> CountAggregate a -> Bool #

maximum :: Ord a => CountAggregate a -> a #

minimum :: Ord a => CountAggregate a -> a #

sum :: Num a => CountAggregate a -> a #

product :: Num a => CountAggregate a -> a #

Backend 'DataConnector => Traversable CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

traverse :: Applicative f => (a -> f b) -> CountAggregate a -> f (CountAggregate b) #

sequenceA :: Applicative f => CountAggregate (f a) -> f (CountAggregate a) #

mapM :: Monad m => (a -> m b) -> CountAggregate a -> m (CountAggregate b) #

sequence :: Monad m => CountAggregate (m a) -> m (CountAggregate a) #

Backend 'DataConnector => Functor CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

fmap :: (a -> b) -> CountAggregate a -> CountAggregate b #

(<$) :: a -> CountAggregate b -> CountAggregate a #

(Backend 'DataConnector, Data (AnnRedactionExp 'DataConnector v), Data v) => Data (CountAggregate v) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CountAggregate v -> c (CountAggregate v) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (CountAggregate v) #

toConstr :: CountAggregate v -> Constr #

dataTypeOf :: CountAggregate v -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (CountAggregate v)) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (CountAggregate v)) #

gmapT :: (forall b. Data b => b -> b) -> CountAggregate v -> CountAggregate v #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CountAggregate v -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CountAggregate v -> r #

gmapQ :: (forall d. Data d => d -> u) -> CountAggregate v -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CountAggregate v -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CountAggregate v -> m (CountAggregate v) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CountAggregate v -> m (CountAggregate v) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CountAggregate v -> m (CountAggregate v) #

Generic (CountAggregate v) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep (CountAggregate v) :: Type -> Type #

(Backend 'DataConnector, Show (AnnRedactionExp 'DataConnector v), Show v) => Show (CountAggregate v) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

(Backend 'DataConnector, Eq (AnnRedactionExp 'DataConnector v), Eq v) => Eq (CountAggregate v) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep (CountAggregate v) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep (CountAggregate v) = D1 ('MetaData "CountAggregate" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "StarCount" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ColumnCount" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (ColumnName, AnnRedactionExp 'DataConnector v))) :+: C1 ('MetaCons "ColumnDistinctCount" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (ColumnName, AnnRedactionExp 'DataConnector v)))))

data Literal Source #

Instances

Instances details
ToJSON Literal Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic Literal Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep Literal :: Type -> Type #

Methods

from :: Literal -> Rep Literal x #

to :: Rep Literal x -> Literal #

Show Literal Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData Literal Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: Literal -> () #

Eq Literal Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

(==) :: Literal -> Literal -> Bool #

(/=) :: Literal -> Literal -> Bool #

Ord Literal Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable Literal Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep Literal Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

data OrderDirection Source #

Constructors

Ascending 
Descending 

Instances

Instances details
ToJSON OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Data OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderDirection -> c OrderDirection #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderDirection #

toConstr :: OrderDirection -> Constr #

dataTypeOf :: OrderDirection -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrderDirection) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderDirection) #

gmapT :: (forall b. Data b => b -> b) -> OrderDirection -> OrderDirection #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderDirection -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderDirection -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrderDirection -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderDirection -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderDirection -> m OrderDirection #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderDirection -> m OrderDirection #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderDirection -> m OrderDirection #

Generic OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep OrderDirection :: Type -> Type #

Show OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: OrderDirection -> () #

Eq OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From OrderDirection OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From OrderDirection OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep OrderDirection Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep OrderDirection = D1 ('MetaData "OrderDirection" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Ascending" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Descending" 'PrefixI 'False) (U1 :: Type -> Type))

newtype ScalarType Source #

Constructors

ScalarType 

Fields

Instances

Instances details
FromJSON ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

FromJSONKey ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSONKey ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

HasCodec ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep ScalarType :: Type -> Type #

Show ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: ScalarType -> () #

Eq ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToErrorValue ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToTxt ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From ScalarType ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From ScalarType ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ScalarType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ScalarType = D1 ('MetaData "ScalarType" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ScalarType" 'PrefixI 'True) (S1 ('MetaSel ('Just "unScalarType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data ExtraTableMetadata Source #

This type captures backend-specific "extra" information about tables and is used on types like DBTableMetadata

Instances

Instances details
FromJSON ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep ExtraTableMetadata :: Type -> Type #

Show ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: ExtraTableMetadata -> () #

Eq ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ExtraTableMetadata = D1 ('MetaData "ExtraTableMetadata" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ExtraTableMetadata" 'PrefixI 'True) (S1 ('MetaSel ('Just "_etmTableType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableType) :*: S1 ('MetaSel ('Just "_etmExtraColumnMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap ColumnName ExtraColumnMetadata))))

data ExtraColumnMetadata Source #

Instances

Instances details
FromJSON ExtraColumnMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToJSON ExtraColumnMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic ExtraColumnMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep ExtraColumnMetadata :: Type -> Type #

Show ExtraColumnMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

NFData ExtraColumnMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: ExtraColumnMetadata -> () #

Eq ExtraColumnMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable ExtraColumnMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ExtraColumnMetadata Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ExtraColumnMetadata = D1 ('MetaData "ExtraColumnMetadata" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ExtraColumnMetadata" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ecmValueGenerated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ColumnValueGenerationStrategy))))