@@ 992-994 (lines=3) @@ | ||
989 | } |
|
990 | ||
991 | // Objects without operators or with DBRef fields can be converted immediately |
|
992 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
993 | return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
|
994 | } |
|
995 | ||
996 | return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
|
997 | } |
|
@@ 1012-1014 (lines=3) @@ | ||
1009 | } |
|
1010 | ||
1011 | // Objects without operators or with DBRef fields can be converted immediately |
|
1012 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1013 | return array($fieldName, $class->getDatabaseIdentifierValue($value)); |
|
1014 | } |
|
1015 | ||
1016 | return array($fieldName, $this->prepareQueryExpression($value, $class)); |
|
1017 | } |
|
@@ 1107-1109 (lines=3) @@ | ||
1104 | } |
|
1105 | ||
1106 | // Objects without operators or with DBRef fields can be converted immediately |
|
1107 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1108 | return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
|
1109 | } |
|
1110 | ||
1111 | return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
|
1112 | } |