If I have a multiple models , and I want to use csv file upload in all models? then how can I get the latest uploaded file and how can I know which file is for each particular model
what if one of the data in csv is wrong? I want wrong data error to be stored and data after that to work as it should create users in db... how to handle that error?
I have a system where we can fill a form and data gets added to the Mongodb atlas . Now I need a feature of CSV upload also that you did it's Great but I need to merge the CSV and the existing data so can we do it by further putting logic in your code?
Sir agar me mongoose compass use karta hu agar mujhe system change karna pade to me us pehle bale system bale compass ko apne new system me kaise open karu
@@AsadAli-be4hc 😀 bhai kuch mushkil nahi hota hein, us problem se ladna sikho sab easy lagega, log lagao or 100 baar check karo kahan issue ho raha hein. Log god ne bahut badiya chij banai heim agar yeh na hota to mere liye bhej kadi mushkil hota.
pls follow below steps:- 1:- Pls check have you using multipart/form-data in your request, because it's a must. 2:- Pls add the console.log(obj)//file obj in multer. 3:- if you got your file obj in multer, then pls add console.log(req.file) in your controller method. If you still see an error then, pls mail me.
does not properly work with excel files please update your video title, when ever we try to log the excel file value it gives us some random characters and encoded value
@@Comman.c but brother i want create this project in mern and it's very useful for all developers, i will create APIs in node js then i will connect API to React.