illion20 removed a comment on pull request #5482: URL: https://github.com/apache/nifi/pull/5482#issuecomment-952418705
Suggestion: Add a multi boolean and support UpdateManyModel ```java if(multi){ writeModel = new UpdateManyModel<>( Filters.and(filters), new Document("$set", readyToUpsert), new UpdateOptions().upsert(true) ); } else { writeModel = new UpdateOneModel<>( Filters.and(filters), new Document("$set", readyToUpsert), new UpdateOptions().upsert(true) ); } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org