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