|
@@ 1086-1088 (lines=3) @@
|
| 1083 |
|
} |
| 1084 |
|
|
| 1085 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1086 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1087 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1088 |
|
} |
| 1089 |
|
|
| 1090 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1091 |
|
} |
|
@@ 1106-1108 (lines=3) @@
|
| 1103 |
|
} |
| 1104 |
|
|
| 1105 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1106 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1107 |
|
return [[$fieldName, $class->getDatabaseIdentifierValue($value)]]; |
| 1108 |
|
} |
| 1109 |
|
|
| 1110 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $class)]]; |
| 1111 |
|
} |
|
@@ 1201-1203 (lines=3) @@
|
| 1198 |
|
} |
| 1199 |
|
|
| 1200 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1201 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1202 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1203 |
|
} |
| 1204 |
|
|
| 1205 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1206 |
|
} |