Hoogle Search

Within LTS Haskell 22.21 (ghc-9.6.5)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. runMigrationSilent :: MonadUnliftIO m => Migration -> ReaderT SqlBackend m [Text]

    persistent Database.Persist.Sql.Migration

    Same as runMigration, but returns a list of the SQL commands executed instead of printing them to stderr. This function silences the migration by remapping stderr. As a result, it is not thread-safe and can clobber output from other parts of the program. This implementation method was chosen to also silence postgresql migration output on stderr, but is not recommended!

  2. runMigrationSilent :: MonadSqlQuery m => Migration -> m [Text]

    persistent-mtl Database.Persist.Sql.Shim

    The lifted version of runMigrationSilent

Page 1 of 1