We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f874b0a commit 16bfb76Copy full SHA for 16bfb76
CHANGELOG.md
@@ -4,7 +4,7 @@ Yii Framework 2 mongodb extension Change Log
4
2.1.10 under development
5
------------------------
6
7
-- no changes in this release.
+- Bug #312: Fixed `yii\mongodb\ActiveFixture::load()` doesn't populate data with _id (Lisio)
8
9
10
2.1.9 November 19, 2019
src/ActiveFixture.php
@@ -64,7 +64,7 @@ public function load()
64
if (empty($data)) {
65
return;
66
}
67
- $this->getCollection()->batchInsert($data);
+ $data = $this->getCollection()->batchInsert($data);
68
foreach ($data as $alias => $row) {
69
$this->data[$alias] = $row;
70
0 commit comments