|
@@ 1052-1054 (lines=3) @@
|
| 1049 |
|
} |
| 1050 |
|
|
| 1051 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1052 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1053 |
|
return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
| 1054 |
|
} |
| 1055 |
|
|
| 1056 |
|
return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
| 1057 |
|
} |
|
@@ 1072-1074 (lines=3) @@
|
| 1069 |
|
} |
| 1070 |
|
|
| 1071 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1072 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1073 |
|
return array($fieldName, $class->getDatabaseIdentifierValue($value)); |
| 1074 |
|
} |
| 1075 |
|
|
| 1076 |
|
return array($fieldName, $this->prepareQueryExpression($value, $class)); |
| 1077 |
|
} |
|
@@ 1167-1169 (lines=3) @@
|
| 1164 |
|
} |
| 1165 |
|
|
| 1166 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1167 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1168 |
|
return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
| 1169 |
|
} |
| 1170 |
|
|
| 1171 |
|
return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
| 1172 |
|
} |