Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
Instances
data MissingBehavior #
Instances
Show MissingBehavior # | |
Defined in Napkin.Run.Effects.Languages.SqlWrite showsPrec :: Int -> MissingBehavior -> ShowS # show :: MissingBehavior -> String # showList :: [MissingBehavior] -> ShowS # | |
Eq MissingBehavior # | |
Defined in Napkin.Run.Effects.Languages.SqlWrite (==) :: MissingBehavior -> MissingBehavior -> Bool # (/=) :: MissingBehavior -> MissingBehavior -> Bool # |
CreateTableAsWithMeta :: BackendTableMeta b -> Ref Table -> Query -> SqlWrite b m () | |
CreateViewAsWithMeta :: BackendViewMeta b -> Ref Table -> Query -> SqlWrite b m () | |
CreateMaterializedViewAsWithMeta :: BackendMaterializedViewMeta b -> Ref Table -> Query -> SqlWrite b m () | |
InsertIntoQuery :: Ref Table -> Query -> SqlWrite b m () | |
CsvStreamInto :: CSVSettings -> Ref Table -> FilePath -> CSVHeader -> Chunks -> CsvSchema -> SqlWrite b m () | |
UpdateTable :: UpdateQuery -> SqlWrite b m () | |
RenameTable :: Ref Table -> Ref Table -> SqlWrite b m () | |
CopyTable :: Ref Table -> Ref Table -> TableWriteStrategy -> SqlWrite b m () | |
DropTable :: Ref Table -> MissingBehavior -> Cascade -> SqlWrite b m () | |
DropView :: Ref Table -> MissingBehavior -> Cascade -> SqlWrite b m () | |
DropMaterializedView :: Ref Table -> MissingBehavior -> Cascade -> SqlWrite b m () | |
DeleteFrom :: Ref Table -> SExp -> SqlWrite b m () |
Instances
(Show (BackendTableMeta b), Show (BackendViewMeta b), Show (BackendMaterializedViewMeta b), IsRenderable Query b, IsRenderable SExp b, IsRenderable UpdateQuery b, Default (BackendTableMeta b), Default (BackendViewMeta b), MaybeDefault (YamlBackendMaterializedViewMeta b), Eq (BackendTableMeta b), Eq (BackendViewMeta b), Eq (YamlBackendMaterializedViewMeta b)) => ToDumpItem (b :: Type) (SqlWrite b :: (Type -> Type) -> Type -> Type) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram | |
(Show (BackendTableMeta bk), Show (BackendViewMeta bk), Show (BackendMaterializedViewMeta bk)) => GShow (SqlWrite bk a :: Type -> Type) # | |
Defined in Napkin.Run.Effects.Languages.SqlWrite gshowsPrec :: forall (a0 :: k). Int -> SqlWrite bk a a0 -> ShowS # | |
(Show (BackendTableMeta bk), Show (BackendViewMeta bk), Show (BackendMaterializedViewMeta bk)) => Show (SqlWrite bk a b) # | |
(Eq (BackendTableMeta bk), Eq (BackendViewMeta bk), Eq (BackendMaterializedViewMeta bk)) => Eq (SqlWrite bk a b) # | |
dropMaterializedView :: forall b r. Member (SqlWrite b) r => Ref Table -> MissingBehavior -> Cascade -> Sem r () #
dropView :: forall b r. Member (SqlWrite b) r => Ref Table -> MissingBehavior -> Cascade -> Sem r () #
dropTable :: forall b r. Member (SqlWrite b) r => Ref Table -> MissingBehavior -> Cascade -> Sem r () #
copyTable :: forall b r. Member (SqlWrite b) r => Ref Table -> Ref Table -> TableWriteStrategy -> Sem r () #
updateTable :: forall b r. Member (SqlWrite b) r => UpdateQuery -> Sem r () #
csvStreamInto :: forall b r. Member (SqlWrite b) r => CSVSettings -> Ref Table -> FilePath -> CSVHeader -> Chunks -> CsvSchema -> Sem r () #
createMaterializedViewAsWithMeta :: forall b r. Member (SqlWrite b) r => BackendMaterializedViewMeta b -> Ref Table -> Query -> Sem r () #
createViewAsWithMeta :: forall b r. Member (SqlWrite b) r => BackendViewMeta b -> Ref Table -> Query -> Sem r () #
createTableAsWithMeta :: forall b r. Member (SqlWrite b) r => BackendTableMeta b -> Ref Table -> Query -> Sem r () #
createTableAs :: forall b r. (Member (SqlWrite b) r, Default (BackendTableMeta b)) => Ref Table -> Query -> Sem r () #
createViewAs :: forall b r. (Member (SqlWrite b) r, Default (BackendViewMeta b)) => Ref Table -> Query -> Sem r () #
createMaterializedViewAs :: forall b r. (Member (SqlWrite b) r, Default (BackendMaterializedViewMeta b)) => Ref Table -> Query -> Sem r () #
createEmptyTable :: forall b r. (Member (SqlWrite b) r, Default (BackendTableMeta b)) => Ref Table -> CsvSchema -> Sem r () #