markpirvine
markpirvine

Reputation: 1592

Azure Table Storage Paging Most Recent

I working on a project that used Azure Table Storage. The data is stored in descending order (Row Key) - most recent message first. The code will pull back the top 10 messages upon the initial request.

Is there any way to use continuation tokens to detect if any new messages have been added? I plan to use jquery to issue a request every 60 seconds.

Mark

Upvotes: 0

Views: 280

Answers (1)

RyanFishman
RyanFishman

Reputation: 695

You could just store the last received rowkey in your javascript and then send that rowkey in the request and use it to check if there are any elements with a rowkey less than that element.

Upvotes: 1

Related Questions