Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data IncludeUnmanagedTables
- type TableSpecsAsDependencyGraph b = (ParseSQL b, ReifiesBackend b, MustacheBackend b, IsBackendTableMeta b, RunBackendEffect b)
- type SpecDeps = Map (Ref Table) (Set (Ref Table))
- allSpecsDeps :: (MonadIO m, TableSpecsAsDependencyGraph b) => RuntimeEnv -> RawInterpretedSpec b -> ExceptT (Ref Table, NapkinEffectError) m SpecDeps
- tableSpecsAsDependencyGraph :: Specs b -> IncludeUnmanagedTables -> SpecDeps -> SpecDepGraph
- unmanagedInputTables :: ValidatedInterpretedSpec b -> Set (Ref Table) -> Set (Ref Table)
- managedInputTables :: ValidatedInterpretedSpec b -> Set (Ref Table) -> Set (Ref Table)
- findCycles :: Specs b -> SpecDeps -> [[Ref Table]]
Documentation
data IncludeUnmanagedTables #
Instances
Eq IncludeUnmanagedTables # | |
Defined in Napkin.Spec.Graph | |
Show IncludeUnmanagedTables # | |
Defined in Napkin.Spec.Graph showsPrec :: Int -> IncludeUnmanagedTables -> ShowS # show :: IncludeUnmanagedTables -> String # showList :: [IncludeUnmanagedTables] -> ShowS # |
type TableSpecsAsDependencyGraph b = (ParseSQL b, ReifiesBackend b, MustacheBackend b, IsBackendTableMeta b, RunBackendEffect b) #
allSpecsDeps :: (MonadIO m, TableSpecsAsDependencyGraph b) => RuntimeEnv -> RawInterpretedSpec b -> ExceptT (Ref Table, NapkinEffectError) m SpecDeps #
tableSpecsAsDependencyGraph :: Specs b -> IncludeUnmanagedTables -> SpecDeps -> SpecDepGraph #
unmanagedInputTables :: ValidatedInterpretedSpec b -> Set (Ref Table) -> Set (Ref Table) #
unmanaged tables that will be used as an input during this run
managedInputTables :: ValidatedInterpretedSpec b -> Set (Ref Table) -> Set (Ref Table) #
managed tables that will be used as an input during this run, but will not be updated