@@ 989-991 (lines=3) @@ | ||
986 | } |
|
987 | ||
988 | // Objects without operators or with DBRef fields can be converted immediately |
|
989 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
990 | return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
|
991 | } |
|
992 | ||
993 | return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
|
994 | } |
|
@@ 1009-1011 (lines=3) @@ | ||
1006 | } |
|
1007 | ||
1008 | // Objects without operators or with DBRef fields can be converted immediately |
|
1009 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1010 | return array($fieldName, $class->getDatabaseIdentifierValue($value)); |
|
1011 | } |
|
1012 | ||
1013 | return array($fieldName, $this->prepareQueryExpression($value, $class)); |
|
1014 | } |
|
@@ 1104-1106 (lines=3) @@ | ||
1101 | } |
|
1102 | ||
1103 | // Objects without operators or with DBRef fields can be converted immediately |
|
1104 | if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
|
1105 | return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
|
1106 | } |
|
1107 | ||
1108 | return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
|
1109 | } |