-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to configure for Promises with Tables import from csv. #14
Comments
Please have a look into the issue ASAP. My project work has been delayed due to not proper documentation of this module!! @shawnbot @zzolo @mike-hearn @thepapaya @noslouch |
Hey @jyotirmay123, it's pretty bad form to call a bunch of random people out in this manner. Especially for an open source project. Please avoid this in the future here and basically any other project. Yes, it doesn't look like there is anyway to hook into the non-error end of the Tables process. Will update the name of this issue. I think it's possible if you want to override the
|
Thanks a lot. It works. We tried this but by providing successHandler() as there is one for errorHandler(). And providing successhandler = resolve, errorHandler = reject in options. But anyway.. Thank you very much... You saved us from using shitty timeout function that we were using as a alternate for this. :) Good luck with your project. |
Sorry, It's not working. |
Sorry, It's not working. |
Issue is with csv file with few hundreds of rows. I think, done function does not wait until end, it is resolving promise just after sending last batch of data dump into database and does not wait it to be complete and hence with small dataset, it resolves before anything gets inserted. |
I was trying to import data from csv file and dump it onto mysql database. That is working correctly. Now I want to resolve a promise when the execution is done for data dump.
I am using below code to do so, I tried different stuff to get into end point and placing the resolve call there, but did not work out.
Please help me how to return a promise with data dum complete.
The text was updated successfully, but these errors were encountered: