|
@@ 740-744 (lines=5) @@
|
| 737 |
|
foreach ($keys as $key => $value) { |
| 738 |
|
$this->query[$mapping['name']]['$elemMatch'][$key] = $reference[$key]; |
| 739 |
|
} |
| 740 |
|
} else { |
| 741 |
|
@trigger_error('Calling ' . __METHOD__ . ' without a current field set will no longer be possible in ODM 2.0.', E_USER_DEPRECATED); |
| 742 |
|
|
| 743 |
|
$this->query['$elemMatch'] = $this->dm->createDBRef($document); |
| 744 |
|
} |
| 745 |
|
|
| 746 |
|
return $this; |
| 747 |
|
} |
|
@@ 1165-1169 (lines=5) @@
|
| 1162 |
|
foreach ($keys as $key => $value) { |
| 1163 |
|
$this->query[$mapping['name'] . '.' . $key] = $reference[$key]; |
| 1164 |
|
} |
| 1165 |
|
} else { |
| 1166 |
|
@trigger_error('Calling ' . __METHOD__ . ' without a current field set will no longer be possible in ODM 2.0.', E_USER_DEPRECATED); |
| 1167 |
|
|
| 1168 |
|
$this->query = $this->dm->createDBRef($document); |
| 1169 |
|
} |
| 1170 |
|
|
| 1171 |
|
return $this; |
| 1172 |
|
} |