|
@@ 1089-1091 (lines=3) @@
|
| 1086 |
|
} |
| 1087 |
|
|
| 1088 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1089 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1090 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1091 |
|
} |
| 1092 |
|
|
| 1093 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1094 |
|
} |
|
@@ 1109-1111 (lines=3) @@
|
| 1106 |
|
} |
| 1107 |
|
|
| 1108 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1109 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1110 |
|
return [[$fieldName, $class->getDatabaseIdentifierValue($value)]]; |
| 1111 |
|
} |
| 1112 |
|
|
| 1113 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $class)]]; |
| 1114 |
|
} |
|
@@ 1204-1206 (lines=3) @@
|
| 1201 |
|
} |
| 1202 |
|
|
| 1203 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1204 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1205 |
|
return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
| 1206 |
|
} |
| 1207 |
|
|
| 1208 |
|
return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
| 1209 |
|
} |