gajus / gajus/moa

Support for transactions

Open
#6 0 comments 0 reactions 1 assignee Claimed by @gajus View on GitHub
enhancement
Dominant language
PHP
Stars
49
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Sequelize (http://sequelizejs.com/docs/latest/transactions) transaction implementation is achieved by establishing a new connection to the database.

PDO has transactions. However, leaving transaction handling to the user at the PDO level would create a direct dependency, not documented in MOA documentation. Sequeliser implementation uses a callback. MOA could implement similar approach to contain transactions. Existing implementation following similar pattern is Laravel, http://laravel.com/docs/database#database-transactions.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.