@@ 1012-1014 (lines=3) @@ | ||
1009 | } |
|
1010 | ||
1011 | // Objects without operators or with DBRef fields can be converted immediately |
|
1012 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1013 | return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
|
1014 | } |
|
1015 | ||
1016 | return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
|
1017 | } |
|
@@ 1032-1034 (lines=3) @@ | ||
1029 | } |
|
1030 | ||
1031 | // Objects without operators or with DBRef fields can be converted immediately |
|
1032 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1033 | return array($fieldName, $class->getDatabaseIdentifierValue($value)); |
|
1034 | } |
|
1035 | ||
1036 | return array($fieldName, $this->prepareQueryExpression($value, $class)); |
|
1037 | } |
|
@@ 1127-1129 (lines=3) @@ | ||
1124 | } |
|
1125 | ||
1126 | // Objects without operators or with DBRef fields can be converted immediately |
|
1127 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1128 | return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
|
1129 | } |
|
1130 | ||
1131 | return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
|
1132 | } |