You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FR] Change the firestore db in firestore.client. #789
As far as I understand there is currently no option to pass the databaseId to firestore.client or to the options when initializing the app (initialize_app(cred)). You can pass the databaseURL to the options in initialze_app, however the Url cannot be looked up in the firebase console anymore.
In my opinion, it would make sense to passt database as an argument to firestore.client() much like you would when initializing the Client class in google.cloud.firestore directly.
db=firestore.client(app, database="my-db")
Alternatively the databaseId could be passed as an option when initializing the app.
changed the title [-][FR] There is currently no way to change the firestore db when using cloud functions.[/-][+][FR] Change the firestore db in firestore.client.[/+]on May 28, 2024
Activity
google-oss-bot commentedon May 28, 2024
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
[-][FR] There is currently no way to change the firestore db when using cloud functions.[/-][+][FR] Change the firestore db in firestore.client.[/+]jonathanedey commentedon Oct 2, 2024
Duplicate of #718