spring-projects / spring-projects/spring-data-mongodb

MongoTemplate should support "saveAll" similar to "insertAll", "findAll" and "removeAll" variants [DATAMONGO-1274]

Open
#2,193 3 comments 5 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.