Andreas Braun

Results 56 issues of Andreas Braun

ODM automatically decides whether a document should be inserted or upserted based on whether or not it has an identifier. The logic requires that the identifier is set manually **before**...

Feature

### Feature Request | Q | A |------------ | ------ | New Feature | yes | RFC | no | BC Break | no #### Summary When storing references as...

Feature

The `Type::convertToDatabaseValue()` and `Type:: convertToPHPValue()` specify that the methods receive a PHP and database type and return the opposite type. However, there are numerous instances where `convertToPHPValue()` is called with...

Documentation

(originally reported as https://jira.mongodb.org/browse/PHPLIB-486) When using `DefaultGridFSRepository::uploadFromStream`, the repository class runs a proxy object for the GridFS file with the ID returned from `MongoDB\GridFS\Bucket::uploadFromStream`. This results in a database query...

Enhancement

### Feature Request | Q | A |------------ | ------ | New Feature | improvement | RFC | no | BC Break | no #### Summary The `HydratingIterator` and `CachingIterator`...

Enhancement

Similar to https://github.com/mongodb/mongo-php-library/pull/574, we should not only test a single topology (in our case, a sharded cluster) but multiple ones. This would also allow running tests in an environment requiring...

Feature

### Feature Request | Q | A |------------ | ------ | New Feature | yes | RFC | no | BC Break | no #### Summary With MongoDB 4.2 and...

Feature

We use `array_search` to find the correct discriminator value for a given class name. This does not use strict mode (third argument for `array_search`). This should not have a big...

Task

### Feature Request | Q | A |------------ | ------ | New Feature | yes | RFC | no | BC Break | no #### Summary GridFS treats multiple documents...

Feature

### Feature Request | Q | A |------------ | ------ | New Feature | yes | RFC | yes | BC Break | not yet #### Summary The `Configuration::addFilter` method...

Feature
Enhancement