Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Not able to Insert/Upsert a document into Mongo db using tMongoDBOutput

Hi Talend Team,

I'm trying to upsert a document into Mongo, update if it exists and insert if it doesn't, but I'm getting the following error, what am I missing in here?

 

                      The method parse(String) is undefined for the type BasicDBObject

 

I appreciate your help!

 

0683p000009M2eV.png

0683p000009M2F9.png

0683p000009M2ef.png

0683p000009M2ek.png

0683p000009M2ep.png

 

0683p000009M2Ug.png

0683p000009M2eu.png

 

Labels (4)
1 Reply
Anonymous
Not applicable
Author

Hello,

Do you want to update particular element in existing document instead of update the whole document? For the update document in MongoDB, Talend have the component called tMongoDBRow.

Best regards

Sabrina