Is your feature request related to a problem? Please describe.
Currently, Firebase Admin SDK only supports the default database. On Blaze paid plans, a single project can contain multiple databases.
In this implementation, we would default back to the https://${projectId}-default-rtdb.${region}/ if the user does not provide anything in the optional custom field customDatabaseUrl, but if a user does provide an optional custom database URL, we would use that, e.g. user specifies: https://third-db-reference.firebaseio.com/ and we would use that instead of the default.
Is your feature request related to a problem? Please describe. Currently, Firebase Admin SDK only supports the
default
database. On Blaze paid plans, a single project can contain multiple databases.https://github.com/PipedreamHQ/pipedream/blob/1ec061d5d5edbc75471059420d287ac85d1acc4b/components/firebase_admin_sdk/firebase_admin_sdk.app.mjs#L88
This request is to be able to set custom database urls if the user provides one using the custom field
customDatabaseUrl
; there is some documentation here that shows how this can be implemented: https://firebase.google.com/docs/database/usage/sharding#connect_your_app_to_multiple_database_instancesIn this implementation, we would default back to the
https://${projectId}-default-rtdb.${region}/
if the user does not provide anything in the optional custom fieldcustomDatabaseUrl
, but if a user does provide an optional custom database URL, we would use that, e.g. user specifies:https://third-db-reference.firebaseio.com/
and we would use that instead of the default.