|
@@ 1079-1081 (lines=3) @@
|
| 1076 |
|
} |
| 1077 |
|
|
| 1078 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1079 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1080 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1081 |
|
} |
| 1082 |
|
|
| 1083 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1084 |
|
} |
|
@@ 1099-1101 (lines=3) @@
|
| 1096 |
|
} |
| 1097 |
|
|
| 1098 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1099 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1100 |
|
return [[$fieldName, $class->getDatabaseIdentifierValue($value)]]; |
| 1101 |
|
} |
| 1102 |
|
|
| 1103 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $class)]]; |
| 1104 |
|
} |
|
@@ 1194-1196 (lines=3) @@
|
| 1191 |
|
} |
| 1192 |
|
|
| 1193 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1194 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1195 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1196 |
|
} |
| 1197 |
|
|
| 1198 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1199 |
|
} |