0

I want to retrieve the data from Firebase real-time database in reverse order in the web for example blogs, the last blog will show first.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
  • Results are always returned from Firebase in ascending order. That means that you'll either have to reverse the results client-side, or store a property with an inverted value. See https://stackoverflow.com/questions/44442816/firebase-date-order-reverse/44443042#44443042 – Frank van Puffelen Feb 13 '18 at 13:01

1 Answers1

0

Read the documentation to add index on your database.