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

Firestore: support for specifying databaseId #698

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lynnfield
Copy link

This commit adds support for specifying the databaseId when creating a FirebaseFirestore instance.

This allows users to connect to a specific database within their Firebase project.

The firestore function now accepts an optional databaseId parameter. If not provided, it defaults to the default database for the project.

Additionally, the NativeFirebaseFirestoreWrapper now stores the databaseId and uses it when initializing the Firestore instance.

This commit adds support for specifying the databaseId when creating a FirebaseFirestore instance.

This allows users to connect to a specific database within their Firebase project.

The `firestore` function now accepts an optional `databaseId` parameter. If not provided, it defaults to the default database for the project.

Additionally, the `NativeFirebaseFirestoreWrapper` now stores the databaseId and uses it when initializing the Firestore instance.
@lynnfield lynnfield force-pushed the feature/firestor-add-databaseid branch 2 times, most recently from 876c65d to ad0f20b Compare January 26, 2025 20:10
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

Successfully merging this pull request may close these issues.

1 participant