@@ 1075-1077 (lines=3) @@ | ||
1072 | } |
|
1073 | ||
1074 | // Objects without operators or with DBRef fields can be converted immediately |
|
1075 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1076 | return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
|
1077 | } |
|
1078 | ||
1079 | return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
|
1080 | } |
|
@@ 1095-1097 (lines=3) @@ | ||
1092 | } |
|
1093 | ||
1094 | // Objects without operators or with DBRef fields can be converted immediately |
|
1095 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1096 | return [[$fieldName, $class->getDatabaseIdentifierValue($value)]]; |
|
1097 | } |
|
1098 | ||
1099 | return [[$fieldName, $this->prepareQueryExpression($value, $class)]]; |
|
1100 | } |
|
@@ 1190-1192 (lines=3) @@ | ||
1187 | } |
|
1188 | ||
1189 | // Objects without operators or with DBRef fields can be converted immediately |
|
1190 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1191 | return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
|
1192 | } |
|
1193 | ||
1194 | return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
|
1195 | } |