firebase / firebase/firebase-admin-python

Python SDK and Android SDK have different start_at filtering methods

オープン
#502 コメント 7 件 リアクション 0 件 担当者 1 名 @hiranya911 が担当を希望しています GitHub で見る
api: database
主要言語
Python
スター
1.2k
フォーク
359
平均マージ
5日 6分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。