-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add BulkWrite to MongoDbRepository #6614
Comments
You can implement it in a custom repository method. : ) |
That's what i've done . However, it means reusing all the logic you've implemented in your Insert and Update functions ( ID check, audits, events, etc ... ) . I can of course reproduce your logic but i have to take care about all coming evolutions to stay as compliant and integrated as possible to your repository logic. |
Thanks @ChEhrhard for your suggestion. We will consider to add it. |
Planned and scheduled, can be followed at issue #6654 |
It could be useful to fully implement the Collection.Bulkwrite() fonction from Mongo Client in yout MongoDbRepository.
This can be much faster than a loop of Update or Insert. In addition the IsUpsert option avoid the need of specificaly call Update or Insert.
Link to officiel doc .
The text was updated successfully, but these errors were encountered: