firebase / firebase/firebase-admin-python
Python SDK and Android SDK have different start_at filtering methods
Đang mở
api: database
- Ngôn ngữ chính
- Python
- Star
- 1.2k
- Fork
- 359
- Merge trung bình
- 5 ngày 6 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
I am using Firebase for a project of mine. In Android I can do a query like this:
`mDatabase.child(dbRoot).child("Order").orderByChild("user_id").startAt(user.getUid(), "the order id to start
from").endAt(user.getUid()).limitToFirst(15)`
In "Order" object, I keep all orders made from all users. The Query gives a user's orders with pagination (it brings them in groups of 15). The problem is that in Python SDK the start_at function doesn't support the second input of starting node, and there is no way to make a similar query as far as I can tell
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.