You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is interesting! I guess it would improve the performance for use cases where we are sure we are inserting new documents. This will also be consistent with what we have in the JpaItemWriter: merge and persist.
fmbenhassine
changed the title
BulkOperations API Implementation for Insert Operations in MongoItemWriter
Add support for bulk inserts in MongoItemWriter
Aug 22, 2023
Currently there is support for the upsert and remove operations, I would like to suggest to add support for insert operation.
It would be nice to define an enum based set of operations (INSERT, UPSERT, REMOVE).
UPSERT will be the default operation (same behaviour as it is now) and the 'setDelete' method can be modified to set the REMOVE operation.
I am happy to submit a proposal in case the idea is accepted.
The text was updated successfully, but these errors were encountered: