firebase / firebase/firebase-admin-python

Python SDK and Android SDK have different start_at filtering methods

未關閉
#502 7 則留言 0 個 reaction 已指派 1 人 已被 @hiranya911 認領 在 GitHub 檢視
api: database
主要語言
Python
星號
1.2k
分支
359
平均合併
5 天 6 分鐘
30 天內合併 PR
2

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。