PHPLIB-402: Add aggregate helper to Database class
Merged from #642. https://jira.mongodb.org/browse/PHPLIB-402 I've extracted the `is_in_transaction` helper from `MongoDB\Collection` in a separate to functions since we need it more often. I've also decided to extract the options for the aggregate helper to a common file to avoid unnecessary duplication of option descriptions.
Showing
Please
register
or
sign in
to comment