|
@@ 1076-1078 (lines=3) @@
|
| 1073 |
|
} |
| 1074 |
|
|
| 1075 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1076 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1077 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1078 |
|
} |
| 1079 |
|
|
| 1080 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1081 |
|
} |
|
@@ 1096-1098 (lines=3) @@
|
| 1093 |
|
} |
| 1094 |
|
|
| 1095 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1096 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1097 |
|
return [[$fieldName, $class->getDatabaseIdentifierValue($value)]]; |
| 1098 |
|
} |
| 1099 |
|
|
| 1100 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $class)]]; |
| 1101 |
|
} |
|
@@ 1191-1193 (lines=3) @@
|
| 1188 |
|
} |
| 1189 |
|
|
| 1190 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1191 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1192 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1193 |
|
} |
| 1194 |
|
|
| 1195 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1196 |
|
} |