How to implement cursor based pagination in neo4j?

时间:2017-12-18 05:03:34

标签: neo4j pagination cursor

I am trying to implement a cursor based pagination server. I am using neo4j for database. I have a confusion on generating cursor for records. I understand cursor should be unique and sequential to generate pagination properly. I think we cannot take neo4j ID as cursor. In my db I will have unique uuid for each nodes but that will not signify it is sequential. I also have db field created that could be used but that field might not be unique. What is proper way to solve this problem with ne04j?

0 个答案:

没有答案