Methods
buildComputedFieldInfo :: MonadError QErr m => HashSet (TableName 'MSSQL) -> TableName 'MSSQL -> HashSet (Column 'MSSQL) -> ComputedFieldName -> ComputedFieldDefinition 'MSSQL -> RawFunctionInfo 'MSSQL -> Comment -> m (ComputedFieldInfo 'MSSQL) Source #
fetchAndValidateEnumValues :: (MonadIO m, MonadBaseControl IO m) => SourceConfig 'MSSQL -> TableName 'MSSQL -> Maybe (PrimaryKey 'MSSQL (RawColumnInfo 'MSSQL)) -> [RawColumnInfo 'MSSQL] -> m (Either QErr EnumValues) Source #
resolveSourceConfig :: (MonadIO m, MonadResolveSource m) => Logger Hasura -> SourceName -> SourceConnConfiguration 'MSSQL -> BackendSourceKind 'MSSQL -> BackendConfig 'MSSQL -> Environment -> Manager -> m (Either QErr (SourceConfig 'MSSQL)) Source #
resolveDatabaseMetadata :: (MonadIO m, MonadBaseControl IO m, MonadResolveSource m) => SourceMetadata 'MSSQL -> SourceConfig 'MSSQL -> SourceTypeCustomization -> m (Either QErr (ResolvedSource 'MSSQL)) Source #
parseBoolExpOperations :: (MonadError QErr m, TableCoreInfoRM 'MSSQL m) => ValueParser 'MSSQL m v -> TableName 'MSSQL -> FieldInfoMap (FieldInfo 'MSSQL) -> ColumnReference 'MSSQL -> Value -> m [OpExpG 'MSSQL v] Source #
buildFunctionInfo :: MonadError QErr m => SourceName -> FunctionName 'MSSQL -> SystemDefined -> FunctionConfig -> FunctionPermissionsMap -> RawFunctionInfo 'MSSQL -> Maybe Text -> NamingCase -> m (FunctionInfo 'MSSQL, SchemaDependency) Source #
updateColumnInEventTrigger :: TableName 'MSSQL -> Column 'MSSQL -> Column 'MSSQL -> TableName 'MSSQL -> EventTriggerConf 'MSSQL -> EventTriggerConf 'MSSQL Source #
parseCollectableType :: MonadError QErr m => CollectableType (ColumnType 'MSSQL) -> Value -> m (PartialSQLExp 'MSSQL) Source #
postDropSourceHook :: (MonadError QErr m, MonadIO m, MonadBaseControl IO m) => SourceConfig 'MSSQL -> TableEventTriggers 'MSSQL -> m () Source #
validateRelationship :: MonadError QErr m => TableCache 'MSSQL -> TableName 'MSSQL -> Either (ObjRelDef 'MSSQL) (ArrRelDef 'MSSQL) -> m () Source #
buildComputedFieldBooleanExp :: (MonadError QErr m, TableCoreInfoRM 'MSSQL m) => BoolExpResolver 'MSSQL m v -> BoolExpRHSParser 'MSSQL m v -> TableName 'MSSQL -> FieldInfoMap (FieldInfo 'MSSQL) -> ComputedFieldInfo 'MSSQL -> Value -> m (AnnComputedFieldBoolExp 'MSSQL v) Source #
prepareCatalog :: forall (m :: Type -> Type). (MonadIO m, MonadBaseControl IO m) => SourceConfig 'MSSQL -> ExceptT QErr m RecreateEventTriggers Source #