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