Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
type SqlWriteIO m bk = (SqlIO m, MonadNapkin bk m, Command CheckTableExists Bool bk, Command (CreateTable (BackendTableMeta bk)) () bk, Command InsertIntoQuery () bk, Command (CreateView (BackendViewMeta bk)) () bk, Command (CreateMaterializedView (BackendMaterializedViewMeta bk)) () bk, Command RenameTable () bk, Command CopyTable () bk, Command DropTable () bk, Command DropView () bk, Command DeleteFrom () bk, Command UpdateQuery () bk, CSVImport bk) #
runSqlWriteIO :: forall bk m r. (SqlWriteIO m bk, Members [Embed m, FatalError, AnnotateWrite bk] r) => BackendConn bk -> SpecPaths -> InterpreterFor (SqlWrite bk) r #