Skip to content

[Feature Request] Allow choosing which Database name to read/write in Firestore #474

@etherealxx

Description

@etherealxx

so i have two databases, (default) and miniatura-firebase-test

Image

i checked the source code of firestore.gd, and found this variable

var _extended_url: String = "projects/[PROJECT_ID]/databases/(default)/documents/"

while the [PROJECT_ID] will be substituted later in the code, the (default) is hardcoded, which shouldn't be the case since there are more than 1 possible database names. i tried replacing the (default) with miniatura-firebase-test and now my database is accessible

so in summary: add a feature/method that allow user to choose which database (name) to access, probably when/before calling Firestore.collection()

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions