Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start UUID for PipelineVertexQueries #178

Open
bburdette opened this issue Feb 27, 2021 · 1 comment
Open

Start UUID for PipelineVertexQueries #178

bburdette opened this issue Feb 27, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bburdette
Copy link

I'm writing a web server using indradb, and it would be convenient for pagination to be able to start a new query where an old one left off. I can do that with RangeVertexQuery, but that's only good for a certain type of vertex, not for something like myvertex.outbound().inbound().

For now I'll probably just use limit() and throw away the first N results. Towards the end of a long list of results that's not great though. Plus being able to start a query in the middle would be great for processing a large result set in constant memory.

Is this kind of feature under consideration?

@ysimonson
Copy link
Member

Yeah, that definitely makes sense as a useful feature.

In the mean-time, another option would be to to pull out the edges from myvertex.outbound(), and do a SpecificVertexQuery on in the inbound vertices.

@ysimonson ysimonson added enhancement New feature or request help wanted Extra attention is needed labels Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants