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