Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ConnSourceConfig = ConnSourceConfig {}
- data SourceTimeout
- sourceTimeoutMicroseconds :: SourceTimeout -> Int
- data SourceConfig = SourceConfig {}
- data FunctionReturnType
- data DataConnectorOptions = DataConnectorOptions {}
- data DataConnectorInfo = DataConnectorInfo {}
- newtype TableName = TableName {}
- newtype ConstraintName = ConstraintName {}
- newtype ColumnName = ColumnName {
- unColumnName :: Text
- newtype FunctionName = FunctionName {}
- data ArgumentExp a = AEInput a
- data CountAggregate v
- data Literal
- data OrderDirection
- newtype ScalarType = ScalarType {
- unScalarType :: Text
- fromGQLType :: Name -> ScalarType
- data ExtraTableMetadata = ExtraTableMetadata {}
- data ExtraColumnMetadata = ExtraColumnMetadata {}
- scTimeoutMicroseconds :: Lens' SourceConfig (Maybe Int)
- scTemplate :: Lens' SourceConfig (Maybe Text)
- scManager :: Lens' SourceConfig Manager
- scEnvironment :: Lens' SourceConfig Environment
- scEndpoint :: Lens' SourceConfig BaseUrl
- scDataConnectorName :: Lens' SourceConfig DataConnectorName
- scConfig :: Lens' SourceConfig Config
- scCapabilities :: Lens' SourceConfig Capabilities
Documentation
data ConnSourceConfig Source #
ConnSourceConfig | |
|
Instances
data SourceTimeout Source #
Instances
data SourceConfig Source #
Instances
ToJSON SourceConfig Source # | |
Defined in Hasura.Backends.DataConnector.Adapter.Types toJSON :: SourceConfig -> Value Source # toEncoding :: SourceConfig -> Encoding Source # toJSONList :: [SourceConfig] -> Value Source # toEncodingList :: [SourceConfig] -> Encoding Source # | |
Show SourceConfig Source # | |
Defined in Hasura.Backends.DataConnector.Adapter.Types showsPrec :: Int -> SourceConfig -> ShowS # show :: SourceConfig -> String # showList :: [SourceConfig] -> ShowS # | |
Eq SourceConfig Source # | |
Defined in Hasura.Backends.DataConnector.Adapter.Types (==) :: SourceConfig -> SourceConfig -> Bool # (/=) :: SourceConfig -> SourceConfig -> Bool # | |
Has ScalarTypesCapabilities SourceConfig Source # | |
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
data DataConnectorOptions Source #
Instances
data DataConnectorInfo Source #
Instances
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]'
Instances
newtype ConstraintName Source #
Instances
newtype ColumnName Source #
Instances
newtype FunctionName Source #
Instances
data ArgumentExp a Source #
AEInput a | Table row accessor
AETableRow
| -- | Hardcoded reference to |
Instances
data CountAggregate v Source #
StarCount | |
ColumnCount (ColumnName, AnnRedactionExp 'DataConnector v) | |
ColumnDistinctCount (ColumnName, AnnRedactionExp 'DataConnector v) |
Instances
Instances
data OrderDirection Source #
Instances
newtype ScalarType Source #
Instances
fromGQLType :: Name -> ScalarType Source #
data ExtraTableMetadata Source #
This type captures backend-specific "extra" information about tables
and is used on types like DBTableMetadata
Instances
data ExtraColumnMetadata Source #
Instances
scTemplate :: Lens' SourceConfig (Maybe Text) Source #