ValidateLab1 function returns nothing

Hi there,
I am unable to execute the validateLab1 function, everything is working perfect but when I execute the validateLab1 function with my aggregation pipeline, it never throw any error or result

Can somebody help to fix what’s the problem?

Thanks in advance

Hi @Ali_Awan, welcome to the community. :wave:
Are you running the command from the same folder in which you validateLab1 file is residing?

If you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,

Hello @SourabhBagrecha actually the problem is solved

Mongo was taking time to execute query other than that there was no problem

Thanks for your time