Skip to content

Add support for replaceOne operation #4463

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

Closed

Conversation

jakubwladyslaw
Copy link
Contributor

@jakubwladyslaw jakubwladyslaw commented Jul 30, 2023

This pr adds replaceOne method to MongoOperations.
Closes: #4462

@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 7, 2023
christophstrobl pushed a commit that referenced this pull request Sep 11, 2023
Add replace methods to MongoOperations and MongoTemplate that allow to replace the first matching document with a given value.

Closes: #4462
Original Pull Request: #4463
christophstrobl added a commit that referenced this pull request Sep 11, 2023
...and update the documentation.

See: #4462
Original Pull Request: #4463
christophstrobl pushed a commit that referenced this pull request Sep 11, 2023
Original Pull Request: #4463
christophstrobl added a commit that referenced this pull request Sep 11, 2023
…reactive api variant.

Narrow the scope of exposed methods on MongoOperations interface. The broader replace API variant has been moved to a protected method allowing users to hook into the implementation and (if needed) expose it.

See: #4462
Original Pull Request: #4463
@christophstrobl
Copy link
Member

@jakubwladyslaw thank you for your contribution. The enhancement has been merged to the main development line via f7549f7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add suport for replaceOne operation
4 participants