@@ 312-317 (lines=6) @@ | ||
309 | $subKey = $parts[0]; |
|
310 | } |
|
311 | ||
312 | if ($this->isIdentifierField($subKey)) { |
|
313 | // Handle like a regular relationship |
|
314 | list($key, $value) = $this->formatQueryElementRel($root, $value, $metadata, $store); |
|
315 | $key = (true === $hasIndex) ? sprintf('%s.%s', $key, $parts[0]) : $key; |
|
316 | return [$key, $value]; |
|
317 | } |
|
318 | ||
319 | if ($this->isTypeField($subKey)) { |
|
320 | // Handle as a model type field. |
|
@@ 319-324 (lines=6) @@ | ||
316 | return [$key, $value]; |
|
317 | } |
|
318 | ||
319 | if ($this->isTypeField($subKey)) { |
|
320 | // Handle as a model type field. |
|
321 | list($key, $value) = $this->formatQueryElementType($subKey, $value); |
|
322 | $key = (true === $hasIndex) ? sprintf('%s.%s.%s', $root, $parts[0], $key) : sprintf('%s.%s', $root, $key); |
|
323 | return [$key, $value]; |
|
324 | } |
|
325 | return [$key, $value]; |
|
326 | } |
|
327 |