dbcleaner-0.1.2: Clean database tables automatically around hspec tests

Safe HaskellNone
LanguageHaskell2010

Database.DBCleaner.PostgreSQLSimple

Synopsis

Documentation

withConnection :: Strategy -> (Connection -> IO a) -> Connection -> IO a Source #

Connection wrapper that cleans up the database using the strategy specified.