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