Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data FunctionMeta b Source #
FunctionMeta | |
|
Instances
data ComputedFieldMeta b Source #
Instances
data TableMeta (b :: BackendType) Source #
TableMeta | |
|
data ComputedFieldDiff (b :: BackendType) Source #
ComputedFieldDiff | |
|
data TableDiff (b :: BackendType) Source #
TableDiff | |
|
getTableChangeDeps :: forall b m. (QErrM m, CacheRM m, Backend b) => SourceName -> TableName b -> TableDiff b -> m [SchemaObjId] Source #
data TablesDiff (b :: BackendType) Source #
TablesDiff | |
|
getTablesDiff :: Backend b => [TableMeta b] -> [TableMeta b] -> TablesDiff b Source #
getIndirectDependenciesFromTableDiff :: forall b m. (QErrM m, CacheRM m, Backend b) => SourceName -> TablesDiff b -> m [SchemaObjId] Source #
data FunctionsDiff b Source #
FunctionsDiff | |
|
Instances
Backend b => Eq (FunctionsDiff b) Source # | |
Defined in Hasura.RQL.DDL.Schema.Diff (==) :: FunctionsDiff b -> FunctionsDiff b -> Bool # (/=) :: FunctionsDiff b -> FunctionsDiff b -> Bool # | |
Backend b => Show (FunctionsDiff b) Source # | |
Defined in Hasura.RQL.DDL.Schema.Diff showsPrec :: Int -> FunctionsDiff b -> ShowS # show :: FunctionsDiff b -> String # showList :: [FunctionsDiff b] -> ShowS # |
getFunctionsDiff :: [FunctionMeta b] -> [FunctionMeta b] -> FunctionsDiff b Source #
getOverloadedFunctions :: Backend b => [FunctionName b] -> [FunctionMeta b] -> [FunctionName b] Source #
processTablesDiff :: forall b m. (MonadError QErr m, CacheRM m, MonadWriter MetadataModifier m, BackendMetadata b) => SourceName -> TableCache b -> TablesDiff b -> m () Source #
alterTableInMetadata :: forall m b. (MonadError QErr m, CacheRM m, MonadWriter MetadataModifier m, BackendMetadata b) => SourceName -> TableCoreInfo b -> TableDiff b -> m () Source #
dropTablesInMetadata :: forall b m. (MonadWriter MetadataModifier m, BackendMetadata b) => SourceName -> [TableName b] -> m () Source #
alterColumnsInMetadata :: forall b m. (MonadError QErr m, CacheRM m, MonadWriter MetadataModifier m, BackendMetadata b) => SourceName -> [(RawColumnInfo b, RawColumnInfo b)] -> FieldInfoMap (FieldInfo b) -> SchemaCache -> TableName b -> m () Source #
removeDroppedColumnsFromMetadataField :: forall b m. (MonadWriter MetadataModifier m, BackendMetadata b) => SourceName -> [Column b] -> TableCoreInfo b -> m () Source #