Skip to content

如何用graph scope进行分页 #2449

Answered by siyuan0322
altqxdd asked this question in Q&A
Discussion options

You must be logged in to vote

Please use bytecode mode, as follows:

g = interactive.traversal_source()
t = g.V().order().by('address', asc)
print(t.next(10))
print(t.next(10))

I'm not an expert of gremlin, perhaps @shirly121 could show how to use pagination in script mode.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sighingnow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request question Further information is requested component:gie
2 participants
Converted from issue

This discussion was converted from issue #2437 on February 22, 2023 10:46.