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