|
@@ 1093-1095 (lines=3) @@
|
| 1090 |
|
} |
| 1091 |
|
|
| 1092 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1093 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1094 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1095 |
|
} |
| 1096 |
|
|
| 1097 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1098 |
|
} |
|
@@ 1113-1115 (lines=3) @@
|
| 1110 |
|
} |
| 1111 |
|
|
| 1112 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1113 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1114 |
|
return [[$fieldName, $class->getDatabaseIdentifierValue($value)]]; |
| 1115 |
|
} |
| 1116 |
|
|
| 1117 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $class)]]; |
| 1118 |
|
} |
|
@@ 1208-1210 (lines=3) @@
|
| 1205 |
|
} |
| 1206 |
|
|
| 1207 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1208 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1209 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1210 |
|
} |
| 1211 |
|
|
| 1212 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1213 |
|
} |