Four Stars

Stats after upserting documents in MongoDB

Hi,

 

Like in MySQL we have option for getting number of records updated, inserted. I want to do the same but with MongoDB. Is there any way we can get all these stats while upserting in MongoDB?

 

Thanks

Ravinder

1 REPLY
Moderator

Re: Stats after upserting documents in MongoDB

Hello,

So far, you can use NB_LINK global variable to get no of records from tMongodbinput component or the number of rows transferred to tMongodoutput which returns an integer.

Or use tFlowMeterCatcher component to catch the processing volumetric from the tFlowMeter component and passes them on to the output component.
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.