google app engine - datastore.Cursor - paging in reverse supported? -


I'm looking at the document to use cursors. Are these only forwarded cursors - can not we get behind the page ?:

  cursor cursor = cursor.frame webstuff (cursor string ); Maps & lt; String, Object & gt; Extensionmap = new hashmop & lt; String, Object & gt; (); ExtensionMap.put (JDOCursorHelper.CURSOR_EXTENSION, cursor); Query.setExtensions (extensionMap); Query.setRange (0, 20);  

Can we set limits in (-20, 0)?

I think the user can go to the previous page of the elements as well as forward.

No, there is no way to go back with the cursor with the current release.

You can "fake", however, caching the previous cursor.

Note: At some point in the future app engine, the reverse cursor is also expected to be supported.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -