[DRIVERS-2132] Add tests for database-level aggregations with readConcern Created: 26/Jul/19 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | Drivers |
| Component/s: | CRUD |
| Fix Version/s: | None |
| Type: | Spec Change | Priority: | Minor - P4 |
| Reporter: | Andreas Braun | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Driver Changes: | Needed | ||||
| Description |
|
As discussed in https://github.com/mongodb/mongo-php-library/pull/643#discussion_r307111324, the tests on how to handle readConcern in aggregation pipelines with $out only cover the aggregate helper on the collection object. Since database-level operations shouldn't need a readConcern, tests should be added to ensure consistent behaviour of the aggregate helper on the database object across drivers. |