Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
184 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...