Pagination using startAt() when ordering by child
问题 I am trying to just retrieve a list of records, sorted by one of the fields in each record, and I would like to be able to retrieve the data in pages. According to the Firebase documentation, the reference.startAt() method has an optional 2nd parameter, which is: The child key to start at. This argument is only allowed if ordering by child, value, or priority. First off, here is the data: { "products" : { "-KlsqFgVWwUrA-j0VsZS" : { "name" : "Product 4", "price" : 666 }, "-Klst-cLSckuwAuNAJF8"