Drop collection before insert MongoDB

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.

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.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.