Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transaction support and add new Connection#transaction helper. #231

Merged

Commits on Jan 27, 2015

  1. Fix transaction support and add new Connection#transaction helper.

    This adds a new transaction helper that makes the use of transactions a
    breeze. It uses a mix of transactions and transaction savepoints to
    enable correctly nested transactions, while giving the user the ability
    to only roll back the contents of specific transaction blocks.
    
    This is a potential breakage for existing users that make use of
    `Connection#beginTransaction`, `Connection#rollbackTransaction` or
    `Connection#commitTransaction`, but these never worked correctly in the
    first place.
    arthurschreiber committed Jan 27, 2015
    Copy the full SHA
    ae7dc1c View commit details
    Browse the repository at this point in the history