spring-projects / spring-projects/spring-data-mongodb
MongoTemplate should support "saveAll" similar to "insertAll", "findAll" and "removeAll" variants [DATAMONGO-1274]
Open
@christophstrobl is already working on this.
Since Jun 1, 2023.
type: task
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Ajit Pendse opened DATAMONGO-1274 and commented
MongoTemplate currently only allows saving a single object at a time, but allows batch removal and insertion using removeAll and insertAll. It would be good to have a similar feature to save all documents in a collection (as a batch)
Affects: 1.7.2 (Fowler SR2)
1 votes, 2 watchers
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.