Skip to content
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

Add optional databaseId to getFirestore #287

Open
felixpolimec opened this issue May 17, 2024 · 0 comments
Open

Add optional databaseId to getFirestore #287

felixpolimec opened this issue May 17, 2024 · 0 comments

Comments

@felixpolimec
Copy link

It would be great to have an ability to target a specific Database in getFirestore.

GetFirestore documentation shows how one can add a databaseId ref, to allow targeting a specific database rather than just (default) database.
Documentation

~Solution
Options
getFirestore
Add the option databaseId to DataProvider firebaseOptions, and pass to getFirestore, with a default value of "" which refers to (Default) database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant