dbcleaner-0.1.3: Clean database tables automatically around hspec tests

Safe HaskellSafe
LanguageHaskell2010

Database.DBCleaner.Types

Documentation

data Strategy Source #

Constructors

Transaction

Wraps all the queries inside a transaction and rollback everything once the execution is done.

Truncation

Truncate all the tables after the execution of the queries.