Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
data MissingBehavior #
Instances
Eq MissingBehavior # | |
Defined in Napkin.Run.Effects.Languages.SqlWrite (==) :: MissingBehavior -> MissingBehavior -> Bool # (/=) :: MissingBehavior -> MissingBehavior -> Bool # | |
Show MissingBehavior # | |
Defined in Napkin.Run.Effects.Languages.SqlWrite showsPrec :: Int -> MissingBehavior -> ShowS # show :: MissingBehavior -> String # showList :: [MissingBehavior] -> ShowS # |
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 () | |
UpdateTable :: UpdateQuery -> SqlWrite b m () | |
RenameTable :: Ref Table -> Ref Table -> SqlWrite b m () | |
CopyTable :: Ref Table -> Ref Table -> 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 # | |
(Eq (BackendTableMeta bk), Eq (BackendViewMeta bk), Eq (BackendMaterializedViewMeta bk)) => Eq (SqlWrite bk a b) # | |
(Show (BackendTableMeta bk), Show (BackendViewMeta bk), Show (BackendMaterializedViewMeta bk)) => Show (SqlWrite bk a b) # | |
deleteFrom :: forall b r. MemberWithError (SqlWrite b) r => Ref Table -> SExp -> Sem r () #
dropMaterializedView :: forall b r. MemberWithError (SqlWrite b) r => Ref Table -> MissingBehavior -> Cascade -> Sem r () #
dropView :: forall b r. MemberWithError (SqlWrite b) r => Ref Table -> MissingBehavior -> Cascade -> Sem r () #
dropTable :: forall b r. MemberWithError (SqlWrite b) r => Ref Table -> MissingBehavior -> Cascade -> Sem r () #
renameTable :: forall b r. MemberWithError (SqlWrite b) r => Ref Table -> Ref Table -> Sem r () #
updateTable :: forall b r. MemberWithError (SqlWrite b) r => UpdateQuery -> Sem r () #
insertIntoQuery :: forall b r. MemberWithError (SqlWrite b) r => Ref Table -> Query -> Sem r () #
createMaterializedViewAsWithMeta :: forall b r. MemberWithError (SqlWrite b) r => BackendMaterializedViewMeta b -> Ref Table -> Query -> Sem r () #
createViewAsWithMeta :: forall b r. MemberWithError (SqlWrite b) r => BackendViewMeta b -> Ref Table -> Query -> Sem r () #
createTableAsWithMeta :: forall b r. MemberWithError (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 () #