graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Backends.BigQuery.Instances.Schema

Synopsis

Documentation

Orphan instances

BackendTableSelectSchema 'BigQuery Source # 
Instance details

BackendSchema 'BigQuery Source # 
Instance details

Methods

buildTableQueryAndSubscriptionFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> SourceInfo 'BigQuery -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> m ([FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))], [FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))], Maybe (Name, Parser 'Output n (ApolloFederationParserFunction n))) Source #

buildTableStreamingSubscriptionFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> SourceInfo 'BigQuery -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> m [FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #

buildTableRelayQueryFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> SourceInfo 'BigQuery -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> NESeq (ColumnInfo 'BigQuery) -> m [FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #

buildTableInsertMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> Scenario -> SourceInfo 'BigQuery -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> m [FieldParser n (AnnotatedInsert 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #

buildTableUpdateMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> Scenario -> SourceInfo 'BigQuery -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> m [FieldParser n (AnnotatedUpdateG 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #

buildTableDeleteMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> Scenario -> SourceInfo 'BigQuery -> TableName 'BigQuery -> TableInfo 'BigQuery -> GQLNameIdentifier -> m [FieldParser n (AnnDelG 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #

buildFunctionQueryFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> SourceInfo 'BigQuery -> FunctionName 'BigQuery -> FunctionInfo 'BigQuery -> TableName 'BigQuery -> m [FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #

buildFunctionRelayQueryFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> SourceInfo 'BigQuery -> FunctionName 'BigQuery -> FunctionInfo 'BigQuery -> TableName 'BigQuery -> NESeq (ColumnInfo 'BigQuery) -> m [FieldParser n (QueryDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #

buildFunctionMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => MkRootFieldName -> SourceInfo 'BigQuery -> FunctionName 'BigQuery -> FunctionInfo 'BigQuery -> TableName 'BigQuery -> m [FieldParser n (MutationDB 'BigQuery (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'BigQuery))] Source #

mkRelationshipParser :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => SourceInfo 'BigQuery -> RelInfo 'BigQuery -> m (Maybe (InputFieldsParser n (Maybe (AnnotatedInsertField 'BigQuery (UnpreparedValue 'BigQuery))))) Source #

relayExtension :: Maybe (XRelay 'BigQuery) Source #

nodesAggExtension :: Maybe (XNodesAgg 'BigQuery) Source #

streamSubscriptionExtension :: Maybe (XStreamingSubscription 'BigQuery) Source #

columnParser :: forall (n :: Type -> Type) m r. (MonadParse n, MonadError QErr m, MonadReader r m, Has MkTypename r, Has NamingCase r) => ColumnType 'BigQuery -> Nullability -> m (Parser 'Both n (ValueWithOrigin (ColumnValue 'BigQuery))) Source #

scalarSelectionArgumentsParser :: forall (n :: Type -> Type). MonadParse n => ColumnType 'BigQuery -> InputFieldsParser n (Maybe (ScalarSelectionArguments 'BigQuery)) Source #

orderByOperators :: SourceInfo 'BigQuery -> NamingCase -> (Name, NonEmpty (Definition EnumValueInfo, (BasicOrderType 'BigQuery, NullsOrderType 'BigQuery))) Source #

comparisonExps :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => ColumnType 'BigQuery -> m (Parser 'Input n [ComparisonExp 'BigQuery]) Source #

countTypeInput :: forall (n :: Type -> Type). MonadParse n => Maybe (Parser 'Both n (Column 'BigQuery)) -> InputFieldsParser n (CountDistinct -> CountType 'BigQuery) Source #

aggregateOrderByCountType :: ScalarType 'BigQuery Source #

computedField :: forall r m (n :: Type -> Type). MonadBuildSchema 'BigQuery r m n => SourceInfo 'BigQuery -> ComputedFieldInfo 'BigQuery -> TableName 'BigQuery -> TableInfo 'BigQuery -> m (Maybe (FieldParser n (AnnotatedField 'BigQuery))) Source #