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 class definitions
  • Use const and let
  • Computed property names in object literals
Was this page helpful?