开发者

Is it possible to determine what position in a resultset you are from a cursor in Google App Engine?

开发者 https://www.devze.com 2023-03-26 12:38 出处:网络
If I have a Cursor object for a query, is there any way of knowing how far through the resultset I am or do I need to maintain a counter myself?

If I have a Cursor object for a query, is there any way of knowing how far through the resultset I am or do I need to maintain a counter myself?

If it matters, I'm using the Java impl开发者_JS百科ementation of GAE.


No. Cursors bookmark a location in a result set - the position between keys - not an offset.

0

精彩评论

暂无评论...
验证码 换一张
取 消