-
Notifications
You must be signed in to change notification settings - Fork 107
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
Poor performance when updating thousands of data #168
Comments
You would need to use a |
when is the batchWrite function coming along? I am also having the same problem. I need to run hundreds of the app script function... |
I have no clue. |
Just posted my issue in SO - https://stackoverflow.com/questions/77289105/create-or-update-firestore-collection-based-on-google-app-script |
I already have that feature deployed on my fork, you can use it from there or you can do a new fork and deploy it to your own script. |
I don't think this library is still maintained, the last release is three years ago. @grahamearley would you confirm on this? |
Installed your V4 library and it works like a charm :) |
I apologize on the lack of maintenance. I have scheduled time to work on this within the coming week to address and catch up to all the issues. I'm aware of @abkarino's changes and should be incorporating them into a release as well. Thanks for your patience! :) |
@LaughDonor It has been almost 1 year, do you have any problem? |
Any updates on this? I am now importing @abkarino 's batch function again, which works well. |
Explain the Problem in Detail
I have thousands of items that I want to update.
Currently, there's only
updateDocument()
API available, which only updates a single data. Since Apps Script doesn't support parallelization (CMIIW), our only option is to callupdateDocument()
multiple times synchronously, which is very bad for performance.Do you have any solution/workaround for this?
Library Version: 33
The text was updated successfully, but these errors were encountered: