Add startAfter and endBefore methods for firebase_database #7395
Unanswered
Tom3652
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello !
I am simply trying to fetch messages from the database using a
query
such as :database.reference().child("messages").startAt(createdAt + 1).limitToFirst(30)
However as you can see, i have to do +1 to avoid the "equal" part from the
startAt
because i already have fetched this value.The
createdAt
is the timestamp as time since epoch in millis.It would be great to have the same methods as native SDK :
startAfter
andendBefore
but it's not a blocking point.Beta Was this translation helpful? Give feedback.
All reactions