What's the significance of done: false ? (after calling .next())

Hi, I've encountered a query that I execute, and it usually never returns "done" false. But in a specific case, it does. I run 2 queries, and sometimes I'm not calling .next() or any terminal steps. I have tried looking for more information in the docs, to no avail. A link to the source code for the class that returns done: boolean: https://github.com/apache/tinkerpop/commit/d458f76dc3d464dae3a5e3bb3b28f63e5b3eead1
GitHub
Use ES6 syntax · apache/tinkerpop@d458f76
- Use class definitions - Use const and let - Computed property names in object literals
2 Replies
Jonathan Fridja
Jonathan FridjaOP2mo ago
I'd appreciate any response to this question
Andrea
Andrea2mo ago
Hello @Jonathan Fridja can you please provide an example of the queries you are running and what you expect the result to be? Looking at the commit you linked the done value is used to determine if the end of the traversal has been reached or not.
Want results from more Discord servers?
Add your server