firebase / firebase/firebase-admin-node

[FR] add listDatabases() to admin SDK

Open
#2,607 1 comment 4 reactions 0 assignees View on GitHub
needs-triage type: feature request
Dominant language
TypeScript
Stars
1.7k
Forks
419
Avg merge
3d 10h
Merged PRs (30d)
16

Description

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I'm building an app that connects to user's firestore database and I have no way of fetching the databases they already use in their project. listCollections() is a method that comes in very handy to do something similar on a lower level.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
listDatabases() should return a list of the databases for a certain db object that corresponds to a firestore project.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
Maybe there's a way I can get this to work in my node environment with the cli command `firebase firestore:databases:list` but not sure how...

**Additional context**
Add any other context, code samples or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.