MongoDB support
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by tracing the existing record helpers and transaction handling that reference yii/db/Connection, including the connection watcher and transaction forcer. Compare those entry points with yii/mongodb/Connection and yii/mongodb/Transaction; done means MongoDB transactions and haveRecord-style helpers are supported without unresolved duplicated references.
Written by the indexing model from the issue text.
Description
Need support for
- transactions
- record helpers (haveRecord)
looks like we have to effectively copy paste the entire bunch of record helpers and swap the active record refence to mimic. and for transaction, both connection watcher and transaction forcer is hard refenced to yii/db/Connection, to have transaction support we have to clone them and swap references to yii/mongodb/Connection and yii/mongodb/Transaction.
@samdark - Ideally, can we have a common parent for both yii/db/Connection and yii/mongodb/Connection? something like yii/db/BaseConnection.
Thanks
- Dominant language
- PHP
- Stars
- 19
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Codeception/module-yii2
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Codeception/module-yii2#145 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Codeception/module-yii2#144 · 1 comment · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
Codeception/module-yii2#141 · 1 comment ·
-
Codeception/module-yii2#134 · 4 comments · 1 assignee ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Codeception/module-yii2#95 · 1 reaction ·
All issues in Codeception/module-yii2
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·