简体   繁体   English

最新的Azure表存储分页

[英]Azure Table Storage Paging Most Recent

I working on a project that used Azure Table Storage. 我正在使用Azure表存储的项目上工作。 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. 该代码将在初始请求时拉回前10条消息。

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. 我计划使用jquery每60秒发出一次请求。

Mark 标记

您可以将最后收到的行键存储在javascript中,然后在请求中发送该行键,并使用它检查是否有任何行键小于该元素的元素。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM