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

Transaction support for Database Class #8

Open
natedrake opened this issue Mar 26, 2017 · 0 comments
Open

Transaction support for Database Class #8

natedrake opened this issue Mar 26, 2017 · 0 comments
Projects

Comments

@natedrake
Copy link
Owner

Database::beginTransaction();
try {
    $model::action();
} catch(Exception e) {
    Database::rollBack();
}
@natedrake natedrake added this to Backlog in 2.0.0 Mar 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
2.0.0
Backlog
Development

No branches or pull requests

1 participant