@@ 1103-1105 (lines=3) @@ | ||
1100 | } |
|
1101 | ||
1102 | // Objects without operators or with DBRef fields can be converted immediately |
|
1103 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1104 | return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
|
1105 | } |
|
1106 | ||
1107 | return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
|
1108 | } |
|
@@ 1123-1125 (lines=3) @@ | ||
1120 | } |
|
1121 | ||
1122 | // Objects without operators or with DBRef fields can be converted immediately |
|
1123 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1124 | return [[$fieldName, $class->getDatabaseIdentifierValue($value)]]; |
|
1125 | } |
|
1126 | ||
1127 | return [[$fieldName, $this->prepareQueryExpression($value, $class)]]; |
|
1128 | } |
|
@@ 1218-1220 (lines=3) @@ | ||
1215 | } |
|
1216 | ||
1217 | // Objects without operators or with DBRef fields can be converted immediately |
|
1218 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1219 | return [[$fieldName, $targetClass->getDatabaseIdentifierValue($value)]]; |
|
1220 | } |
|
1221 | ||
1222 | return [[$fieldName, $this->prepareQueryExpression($value, $targetClass)]]; |
|
1223 | } |