Hi guys, is there any way to use the command or utility “mongoimport” with the .Net Mongo Driver to load a .CSV in mongo atlas for running it in a microservice than read the file in a url or cloud storage.
Thanks for your help.
Hi guys, is there any way to use the command or utility “mongoimport” with the .Net Mongo Driver to load a .CSV in mongo atlas for running it in a microservice than read the file in a url or cloud storage.
Thanks for your help.
Hi @Jose_Alejandro_Benit, thanks for your question!
mongoimport
is a separate tool that does not depend on or require the use of any driver. You usually use it to load data that’s generated from either mongoexport
or some other third-party export tool.
What are you trying to do? Any additional information would be great so that we can point you in the right direction!
Thanks
Thanks Adrienne, we are trying to import masive records into mongo collections using .net driver or nodejs. Right now we are reading de CSV file row by row and doing a “InsertMany” but we want to know if there is another fastest way to do this load.
Thanks.
Pd. Excuse me for my english.
No worries at all, I understand you @Jose_Alejandro_Benit.
Thanks for the context around what you’re doing.
A few more questions:
Thank you! The answers to these questions will help me get a clearer picture of what you’re doing and will help me determine if there are any improvements or changes needed!
Thanks Adrienne.
Again, thanks for your help.