firebase / firebase/firebase-admin-python

Python SDK and Android SDK have different start_at filtering methods

Open
#502 7 comments 0 reactions 1 assignee Claimed by @hiranya911 View on GitHub
api: database
Dominant language
Python
Stars
1.2k
Forks
359
Avg merge
5d 6m
Merged PRs (30d)
2

Description

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

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.