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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello !
I am simply trying to fetch messages from the database using a
querysuch 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
startAtbecause i already have fetched this value.The
createdAtis the timestamp as time since epoch in millis.It would be great to have the same methods as native SDK :
startAfterandendBeforebut it's not a blocking point.Beta Was this translation helpful? Give feedback.
All reactions