Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To get all record from the legacy paging method, do this (assume page size of 1000) (assume less than 20 records will change while paging

  1. Loop with 5 tries
    1. Get the first 1000 records
    2. Loop
      1. Get the second page but start on 980 and get 1020 records (to index 2000)
      2. If there is no overlap of records, throw out the data and start over in outer loop
      3. If get through where last page has less than pageSize+overlap records, then done

Notes

You need to sequentially cycle through records and you cannot get multiple pages at once, since you dont know the ID to start after

...