How to use pagination
in apache tinker pop gremlin
? Trying to get both count
and the vertex properties
g.V().hasLabel('person').fold().as('persons','count').
select('persons','count').
by(range(local, 2, 4)).
by(count(local))
output:-
{'persons': [v[2e6279e5-ad7c-48e3-9527-4972e55ecd24],
v[bb01581c-de6f-4c57-92f5-6fe090011279]], 'count': 36}
How to get the properties of vertex
instead of just T.id
?