|
@@ 1063-1065 (lines=3) @@
|
| 1060 |
|
} |
| 1061 |
|
|
| 1062 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1063 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1064 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1065 |
|
} |
| 1066 |
|
|
| 1067 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1068 |
|
} |
|
@@ 1083-1085 (lines=3) @@
|
| 1080 |
|
} |
| 1081 |
|
|
| 1082 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1083 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1084 |
|
return [[$fieldName, $class->getDatabaseIdentifierValue($value)]]; |
| 1085 |
|
} |
| 1086 |
|
|
| 1087 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $class)]]; |
| 1088 |
|
} |
|
@@ 1178-1180 (lines=3) @@
|
| 1175 |
|
} |
| 1176 |
|
|
| 1177 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1178 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1179 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1180 |
|
} |
| 1181 |
|
|
| 1182 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1183 |
|
} |