Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit d9c867f

Browse files
feat: Expose databaseId and projectId getter on Firestore class (#1937)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/nodejs-firestore/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #1936
1 parent 2e4e83d commit d9c867f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

dev/src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,6 @@ export class Firestore implements firestore.Firestore {
773773

774774
/**
775775
* Returns the Database ID for this Firestore instance.
776-
*
777-
* @private
778-
* @internal
779776
*/
780777
get databaseId(): string {
781778
return this._databaseId || DEFAULT_DATABASE_ID;

0 commit comments

Comments
 (0)