@@ 421-424 (lines=4) @@ | ||
418 | $key = sprintf('%s.%s', $key, Persister::IDENTIFIER_KEY); |
|
419 | } |
|
420 | ||
421 | if (is_array($value)) { |
|
422 | $value = (true === $this->hasOperators($value)) ? $value : ['$in' => $value]; |
|
423 | return [$key, $this->formatQueryExpression($value, $converter)]; |
|
424 | } |
|
425 | return [$key, $converter($value)]; |
|
426 | } |
|
427 | ||
@@ 449-452 (lines=4) @@ | ||
446 | } |
|
447 | ||
448 | $converter = $this->getQueryRootConverter($metadata, $dbKey); |
|
449 | if (is_array($value)) { |
|
450 | $value = (true === $this->hasOperators($value)) ? $value : ['$in' => $value]; |
|
451 | return [$dbKey, $this->formatQueryExpression($value, $converter)]; |
|
452 | } |
|
453 | return [$dbKey, $converter($value)]; |
|
454 | } |
|
455 |