0

I'm not sure if the Cursor defined in this Xodus ticket is the typical database cursor or not, but is there a way to support database cursors with Xodus?

For example, instead of the normal skip/limit approach, a cursor can be used to resume retrieval of the results.

Is there a way to use a cursor instead of skip and limit with Xodus?

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
Fireburn
  • 981
  • 6
  • 20

1 Answers1

2

In the Environments API there are aleady cursors. The ticket mentioned is about so called persistent cursors in the EntityStore API that could survive through changing transaction and even EntityStore close/open. It's very unlikely that this feature would ever be implemented.

Vyacheslav Lukianov
  • 1,913
  • 8
  • 12
  • So cursor only works within the same transaction context? So it's not usable for pagination in a user interface? – Fireburn Mar 09 '21 at 10:01