|
@@ 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, $targetClass->getDatabaseIdentifierValue($value)); |
| 1011 |
|
} |
| 1012 |
|
|
| 1013 |
|
return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
| 1014 |
|
} |
|
@@ 1029-1031 (lines=3) @@
|
| 1026 |
|
} |
| 1027 |
|
|
| 1028 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1029 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1030 |
|
return array($fieldName, $class->getDatabaseIdentifierValue($value)); |
| 1031 |
|
} |
| 1032 |
|
|
| 1033 |
|
return array($fieldName, $this->prepareQueryExpression($value, $class)); |
| 1034 |
|
} |
|
@@ 1124-1126 (lines=3) @@
|
| 1121 |
|
} |
| 1122 |
|
|
| 1123 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1124 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1125 |
|
return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
| 1126 |
|
} |
| 1127 |
|
|
| 1128 |
|
return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
| 1129 |
|
} |