@@ 995-997 (lines=3) @@ | ||
992 | } |
|
993 | ||
994 | // Objects without operators or with DBRef fields can be converted immediately |
|
995 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
996 | return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
|
997 | } |
|
998 | ||
999 | return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
|
1000 | } |
|
@@ 1015-1017 (lines=3) @@ | ||
1012 | } |
|
1013 | ||
1014 | // Objects without operators or with DBRef fields can be converted immediately |
|
1015 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1016 | return array($fieldName, $class->getDatabaseIdentifierValue($value)); |
|
1017 | } |
|
1018 | ||
1019 | return array($fieldName, $this->prepareQueryExpression($value, $class)); |
|
1020 | } |
|
@@ 1110-1112 (lines=3) @@ | ||
1107 | } |
|
1108 | ||
1109 | // Objects without operators or with DBRef fields can be converted immediately |
|
1110 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1111 | return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
|
1112 | } |
|
1113 | ||
1114 | return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
|
1115 | } |