Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Partial Delete and load - using MongoDb tools

arunkumark_21
8 - Asteroid

Hi Awesome Community,

 

I have around 800-1000 records in a mongo collection perday.

I want to introduce a rerun functionality in my alteryx workflow. Which means, on passing a date parameter all the 8000-10000 records in the collection needed to be deleted and then fresh record to be inserted.

 

As a workaround I am querying the same collection, removing the records corresponding to that particular date and then unioning with fresh record. But this will be a problem when the collection starts growing.

 

Is there a cleaner way of doing this?

Like writing a pre-sql  when inserting other DB?

 

Note: Writing a python/R script may not be a good option as I have to handle the password separately

 

Thanks,

Arun Kumar

0 REPLIES 0
Labels
Top Solution Authors