Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[FR] add listDatabases() to admin SDK

Đang mở
#2,607 1 bình luận 4 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
node.js, typescript
Lĩnh vực
api, databases

Hướng nghiên cứu

Issue không nêu tên tệp hoặc test nào. Hãy bắt đầu bằng cách lần theo triển khai hiện có của listCollections() và so sánh với hành vi của lệnh CLI firebase firestore:databases:list; công việc hoàn tất khi admin SDK cung cấp listDatabases() cho một dự án Firestore và trả về các database của dự án đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

needs-triage type: feature request

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.

Ngôn ngữ chính
TypeScript
Star
1.7k
Fork
419
Merge trung bình
4 ngày 20 giờ
Pull request đã merge (30 ngày)
16

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của firebase/firebase-admin-node

Tất cả issue của firebase/firebase-admin-node

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.