Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

MongoDBOutput replaces existing documents, how to $set ?

Hi,
I would like to update documents y my Mongo Collections, the problem is if I use the "update" or "upsert" mode of the component I lose all the existing fields of the document. It actually acts as a "replace" mode. 
How can I use the equivalent of the "$set" command so that the existing fields are not losts ?
Thanks,
Maxime
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Well, it seems there is currently no way to use $set functionnality...
https://jira.talendforge.org/browse/TDI-28878
Do you have any roadmap for this? Or workaround?
Anonymous
Not applicable
Author

Hi,
Could you please vote for this new feature jira issue?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
Could you please vote for this new feature jira issue?
Best regards
Sabrina

Hi,
Can we use the tMongoDBRow to achieve this?
Can we write the query and get it done as a workaround? Any issue with it?