Skip to content

useFirestore should allow to select a non (default) database #1558

Open
@aaaaahaaaaa

Description

@aaaaahaaaaa

What problem is this solving

As far as I can tell, there's no way to select a different Firestore database aside from the (default) one. Firestore multi database support is GA since February.

The getFirestore SDK allows to select the database based on the ID: https://firebase.google.com/docs/reference/js/firestore_.md#getfirestore_48de6cb

Proposed solution

The composable should take the Database ID as a param.

Note: the composable currently already takes a name as param, for the name of the Firebase App, which is confusing IMO.

Describe alternatives you've considered

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions