@@ 1060-1062 (lines=3) @@ | ||
1057 | } |
|
1058 | ||
1059 | // Objects without operators or with DBRef fields can be converted immediately |
|
1060 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1061 | return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
|
1062 | } |
|
1063 | ||
1064 | return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
|
1065 | } |
|
@@ 1080-1082 (lines=3) @@ | ||
1077 | } |
|
1078 | ||
1079 | // Objects without operators or with DBRef fields can be converted immediately |
|
1080 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1081 | return array($fieldName, $class->getDatabaseIdentifierValue($value)); |
|
1082 | } |
|
1083 | ||
1084 | return array($fieldName, $this->prepareQueryExpression($value, $class)); |
|
1085 | } |
|
@@ 1175-1177 (lines=3) @@ | ||
1172 | } |
|
1173 | ||
1174 | // Objects without operators or with DBRef fields can be converted immediately |
|
1175 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1176 | return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
|
1177 | } |
|
1178 | ||
1179 | return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
|
1180 | } |