Can I query the Realtime Database using the startAt
filter together with serverTimestamp()
?
If so, or if not, is this explicitly documented somewhere?
Can I query the Realtime Database using the startAt
filter together with serverTimestamp()
?
If so, or if not, is this explicitly documented somewhere?
2
Answers
The answer appears to be no. Although I cannot find any documentation - I also cannot get code relying on
serverTimestamp()
to ever retrieve any information from the server when combined with listeners. I guess it's only for write operations.of course you can ,did you try anything yet ?
only thing you need is to make sure you have some field value of
timestamp
in you doc so that during query you can use that to compare.see retrieve-data#range-queries
please try and then let us know.