firebase / firebase/firebase-admin-python
Python SDK and Android SDK have different start_at filtering methods
Abierto
api: database
- Lenguaje dominante
- Python
- Estrellas
- 1.2k
- Forks
- 359
- Merge medio
- 5 d 6 min
- PR fusionados (30 d)
- 2
Descripción
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
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.