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

Future Request: Support multiple databases in single project #607

Open
Fsher07 opened this issue Jan 15, 2024 · 0 comments
Open

Future Request: Support multiple databases in single project #607

Fsher07 opened this issue Jan 15, 2024 · 0 comments

Comments

@Fsher07
Copy link
Contributor

Fsher07 commented Jan 15, 2024

As you know, we can now create more than one database and in my opinion it is very useful. Also firebase itself suggests to use the property to separate prod-staging environments. In FireCMS, it is very easy to do it. We just need to add a database id to useFirestoreDataSource hook. Then, use that parameter as the second input of getFireStore. If it empty, it automatically gets the 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