Reputation: 4775
I've run into a problem while trying to update the schema for my database. My plan was to export the data, use a local script to modify it, then import the modified data to overwrite the database.
The problem is Firebase console won't allow me to import the new data because it contains about 10,000 keys, each of which would trigger a Firebase Function (actually, a few functions), and I assume it's over some internal limit.
How would you modify a large number of paths like this?
My alternate ideas:
Upvotes: 0
Views: 735
Reputation: 598926
There is no way to temporarily disable Cloud Functions, nor to tell to bypass triggering of Cloud Functions on a certain import or API call.
The only way to solve this would be to temporarily remove the function, import the data, and then re-enable the function.
This is a common use-case that would be great if it'd be supported in a more integrated way, so I'd recommend filing a feature request.
Upvotes: 2