Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.3] Optimize nested collection deletions #1948

Merged

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Feb 4, 2019

Q A
Type improvement
BC Break no

Summary

This back ports #1880 to the 1.3 branch, deprecating the current method signatures of delete and update in the process.

@alcaeus alcaeus added the Feature label Feb 4, 2019
@alcaeus alcaeus added this to the 1.3.0 milestone Feb 4, 2019
@alcaeus alcaeus self-assigned this Feb 4, 2019
@alcaeus alcaeus requested a review from malarzm February 4, 2019 06:41
@alcaeus alcaeus force-pushed the optimize-nested-collection-deletions branch from 02ecb89 to 9101c91 Compare February 4, 2019 07:20
## Persisters

* The `delete` and `update` methods in
`Doctrine\ODM\MongoDB\Persisters\CollectionPersister` are deprecated. Use
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"are" here should likely change but I'm leaving this for a future proofreading :)

@malarzm
Copy link
Member

malarzm commented Feb 6, 2019

@alcaeus feel free to merge once the conflict is resolved

watari and others added 8 commits February 7, 2019 07:28
…letion of collections that is belong to one document.
…eduled for update - now nested collections for one parent is updated inside one query where it was possible.
…queries where it is required. Added missing tests for checking simultaneous embed-many collections updates under different storage strategies.
@alcaeus alcaeus force-pushed the optimize-nested-collection-deletions branch from 9101c91 to f122613 Compare February 7, 2019 06:29
@alcaeus alcaeus merged commit f6ed407 into doctrine:1.3.x Feb 7, 2019
@alcaeus alcaeus deleted the optimize-nested-collection-deletions branch February 7, 2019 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants