Start a new topic

Offset data store query by object id?

Lots of APIs have support for loading records after or before a certain record id, generally referred to as paging. Is there anything like that available for Kinvey data stores? I saw the KCSQuerySkipModifier, but if more records are added between fetches, it doesn't do much good.

If there is no built-in functionality in the SDK, does anyone have an example of custom endpoint code that could provide the same functionality for paging through data stores?

Ok, sounds good, I'll do that. Thanks for the help!
You can query for elements that have `KCSMetadataFieldLastModifiedTime` greater than the newest entity of the previous fetch.
Login or Signup to post a comment