|
@@ 417-420 (lines=4) @@
|
| 414 |
|
$key = sprintf('%s.%s', $key, Persister::IDENTIFIER_KEY); |
| 415 |
|
} |
| 416 |
|
|
| 417 |
|
if (is_array($value)) { |
| 418 |
|
$value = (true === $this->hasOperators($value)) ? $value : ['$in' => $value]; |
| 419 |
|
return [$key, $this->formatQueryExpression($value, $converter)]; |
| 420 |
|
} |
| 421 |
|
return [$key, $converter($value)]; |
| 422 |
|
} |
| 423 |
|
|
|
@@ 445-448 (lines=4) @@
|
| 442 |
|
} |
| 443 |
|
|
| 444 |
|
$converter = $this->getQueryRootConverter($metadata, $dbKey); |
| 445 |
|
if (is_array($value)) { |
| 446 |
|
$value = (true === $this->hasOperators($value)) ? $value : ['$in' => $value]; |
| 447 |
|
return [$dbKey, $this->formatQueryExpression($value, $converter)]; |
| 448 |
|
} |
| 449 |
|
return [$dbKey, $converter($value)]; |
| 450 |
|
} |
| 451 |
|
|