One Star

Drop collection before insert MongoDB

Hello,

 

So, when i did an extraction with Talend DI, i want to drop the collection before i insert new Data.

How can i do it?

 

Thank you.

1 REPLY
Moderator

Re: Drop collection before insert MongoDB

Hi,

Here is an option "Drop collection if exist" in basic settings of tMongoDBOutput component which is used to drop the collection if it already exists.1.png

Best regards

Sabrina

 
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.