In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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