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

Hasura.Backends.DataConnector.Adapter.Backend

Documentation

data CustomBooleanOperator a Source #

Instances

Instances details
Foldable CustomBooleanOperator Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Backend

Methods

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

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

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

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

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

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

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

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

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

toList :: CustomBooleanOperator a -> [a] #

null :: CustomBooleanOperator a -> Bool #

length :: CustomBooleanOperator a -> Int #

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

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

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

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

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

Traversable CustomBooleanOperator Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Backend

Functor CustomBooleanOperator Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Backend

Generic (CustomBooleanOperator a) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Backend

Associated Types

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

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

Defined in Hasura.Backends.DataConnector.Adapter.Backend

NFData a => NFData (CustomBooleanOperator a) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Backend

Methods

rnf :: CustomBooleanOperator a -> () #

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

Defined in Hasura.Backends.DataConnector.Adapter.Backend

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

Defined in Hasura.Backends.DataConnector.Adapter.Backend

ToJSON a => ToJSONKeyValue (CustomBooleanOperator a) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Backend

type Rep (CustomBooleanOperator a) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Backend

type Rep (CustomBooleanOperator a) = D1 ('MetaData "CustomBooleanOperator" "Hasura.Backends.DataConnector.Adapter.Backend" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "CustomBooleanOperator" 'PrefixI 'True) (S1 ('MetaSel ('Just "_cboName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_cboRHS") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Either (RootOrCurrentColumn 'DataConnector) a)))))

Orphan instances

Backend 'DataConnector Source # 
Instance details

Associated Types

type BackendConfig 'DataConnector Source #

type BackendInfo 'DataConnector Source #

type TableName 'DataConnector Source #

type FunctionName 'DataConnector Source #

type FunctionReturnType 'DataConnector Source #

type RawFunctionInfo 'DataConnector Source #

type ConstraintName 'DataConnector Source #

type BasicOrderType 'DataConnector Source #

type NullsOrderType 'DataConnector Source #

type CountType 'DataConnector :: Type -> Type Source #

type Column 'DataConnector Source #

type ScalarValue 'DataConnector Source #

type ScalarType 'DataConnector Source #

type SQLExpression 'DataConnector Source #

type ComputedFieldDefinition 'DataConnector Source #

type ScalarSelectionArguments 'DataConnector Source #

type ExtraTableMetadata 'DataConnector Source #

type FunctionArgument 'DataConnector Source #

type FunctionArgumentExp 'DataConnector :: Type -> Type Source #

type ComputedFieldImplicitArguments 'DataConnector Source #

type ComputedFieldReturn 'DataConnector Source #

type HealthCheckTest 'DataConnector Source #

type BooleanOperators 'DataConnector :: Type -> Type Source #

type AggregationPredicates 'DataConnector :: Type -> Type Source #

type UpdateVariant 'DataConnector :: Type -> Type Source #

type BackendInsert 'DataConnector :: Type -> Type Source #

type XComputedField 'DataConnector Source #

type XRelay 'DataConnector Source #

type XNodesAgg 'DataConnector Source #

type XEventTriggers 'DataConnector Source #

type XNestedInserts 'DataConnector Source #

type XStreamingSubscription 'DataConnector Source #

type XNestedObjects 'DataConnector Source #

type XGroupBy 'DataConnector Source #

type ResolvedConnectionTemplate 'DataConnector Source #

type ConnectionTemplateRequestContext 'DataConnector Source #

type ExecutionStatistics 'DataConnector Source #

Methods

healthCheckImplementation :: Maybe (HealthCheckImplementation (HealthCheckTest 'DataConnector)) Source #

versionCheckImplementation :: Environment -> SourceConnConfiguration 'DataConnector -> IO (Either QErr ()) Source #

runPingSource :: Environment -> (String -> IO ()) -> SourceName -> SourceConnConfiguration 'DataConnector -> IO () Source #

resolveConnectionTemplate :: SourceConfig 'DataConnector -> ConnectionTemplateRequestContext 'DataConnector -> Maybe ConnectionTemplate -> Either QErr EncJSON Source #

isComparableType :: ScalarType 'DataConnector -> Bool Source #

isNumType :: ScalarType 'DataConnector -> Bool Source #

getCustomAggregateOperators :: SourceConfig 'DataConnector -> HashMap Name (HashMap (ScalarType 'DataConnector) (ScalarType 'DataConnector)) Source #

textToScalarValue :: Maybe Text -> ScalarValue 'DataConnector Source #

parseScalarValue :: ScalarTypeParsingContext 'DataConnector -> ScalarType 'DataConnector -> Value -> Either QErr (ScalarValue 'DataConnector) Source #

scalarValueToJSON :: ScalarValue 'DataConnector -> Value Source #

functionToTable :: FunctionName 'DataConnector -> TableName 'DataConnector Source #

tableToFunction :: TableName 'DataConnector -> FunctionName 'DataConnector Source #

computedFieldFunction :: ComputedFieldDefinition 'DataConnector -> FunctionName 'DataConnector Source #

computedFieldReturnType :: ComputedFieldReturn 'DataConnector -> ComputedFieldReturnType 'DataConnector Source #

supportsAggregateComputedFields :: Bool Source #

fromComputedFieldImplicitArguments :: v -> ComputedFieldImplicitArguments 'DataConnector -> [FunctionArgumentExp 'DataConnector v] Source #

tableGraphQLName :: TableName 'DataConnector -> Either QErr Name Source #

functionGraphQLName :: FunctionName 'DataConnector -> Either QErr Name Source #

getTableIdentifier :: TableName 'DataConnector -> Either QErr GQLNameIdentifier Source #

snakeCaseTableName :: TableName 'DataConnector -> Text Source #

namingConventionSupport :: SupportedNamingCase Source #

resizeSourcePools :: SourceConfig 'DataConnector -> ServerReplicas -> IO SourceResizePoolSummary Source #

defaultTriggerOnReplication :: Maybe (XEventTriggers 'DataConnector, TriggerOnReplication) Source #

backendSupportsNestedObjects :: Either QErr (XNestedObjects 'DataConnector) Source #

sourceSupportsSchemalessTables :: SourceConfig 'DataConnector -> Bool Source #

HasSourceConfiguration 'DataConnector Source # 
Instance details