Closed aronsuarez closed 1 year ago
Can you provide more details and screenshots for this request?
Checkout this blog post: https://cloud.google.com/blog/products/databases/manage-multiple-firestore-databases-in-a-project
This is a value that will set when the firestore instance is created
getFirestore(app, 'some-db-name')
@aronsuarez
The provisioning of the function to monitor changes to a database is managed by the firebase team. They would need to enable the ability to set up one extension to monitor multiple database. Right now, you can install the extension multiple times to monitor one database per extension. Have you tried this approach?
@smomin
I know the problem with observing multiple databases, but this isn't what I mean. I speak of installing the extension multiple times, but how can I configure the trigger database?
@aronsuarez
I have posted a question to the Firebase team if the extension is allows to select a trigger. If there is a path forward, I will get it implemented.
hey @aronsuarez i have created a RC version of the extension.
Try it out.
Pushing this feature in v1.1.4.
The extension is currently not using the specified firestore database even after giving the correct database id its still only indexing data from (default)
Multiple firestore databases in one project is now in preview, it would be very nice to have the option to specify the trigger database