In my database one section have 10000+ records. I just want query I specific index like the 56th ... 96th. Can I have a way to do that?
let ref: FIRDatabaseReference = FIRDatabase.database().reference()
let q = (ref.child("WORLDS").queryOrdered(byChild: "publishTime"))
q.queryLimited(toLast: 40)
q.observe(.value, with: { (snap) in ...
Like that I just got the last 40 records