Answer by Grimthorr for Getting second last record from firestore DB, javascript
The order of Firestore documents is not guaranteed, unless you specifically order the documents in your query. To do this, you'll need to use the orderBy() method. For example, you can specify that the...
View ArticleGetting second last record from firestore DB, javascript
As firestore is not that much old yet, there is very small help out there in some scenarios. I am trying to get 2nd last record from Firestore but it's getting very first one. i know it's wrong query:...
View Article
More Pages to Explore .....