|
@@ 1058-1060 (lines=3) @@
|
| 1055 |
|
} |
| 1056 |
|
|
| 1057 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1058 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1059 |
|
return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
| 1060 |
|
} |
| 1061 |
|
|
| 1062 |
|
return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
| 1063 |
|
} |
|
@@ 1078-1080 (lines=3) @@
|
| 1075 |
|
} |
| 1076 |
|
|
| 1077 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1078 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1079 |
|
return array($fieldName, $class->getDatabaseIdentifierValue($value)); |
| 1080 |
|
} |
| 1081 |
|
|
| 1082 |
|
return array($fieldName, $this->prepareQueryExpression($value, $class)); |
| 1083 |
|
} |
|
@@ 1173-1175 (lines=3) @@
|
| 1170 |
|
} |
| 1171 |
|
|
| 1172 |
|
// Objects without operators or with DBRef fields can be converted immediately |
| 1173 |
|
if ( ! $this->hasQueryOperators($value) || $this->hasDBRefFields($value)) { |
| 1174 |
|
return array($fieldName, $targetClass->getDatabaseIdentifierValue($value)); |
| 1175 |
|
} |
| 1176 |
|
|
| 1177 |
|
return array($fieldName, $this->prepareQueryExpression($value, $targetClass)); |
| 1178 |
|
} |