Is ForEach function has limit?


#1

Hi everyone again,

I have a problem with ForEach function, maybe i got it wrong. I expect the following two queries to give the same result but the query with ForEach’s result end at 304th line.

g.V().In().Unique().ForEach( function(d) {
      g.Emit(d)
})

g.V().In().Unique().All()

when i try with different data, it’s result end line 304 also, is that a coincidence or a ForEach function has a limit?

cayley version 0.7.3 and tested with boltdb,leveldb and mongodb


#2

Just answered the same question here, hope it helps:


#3

Fixed upstream, See #718 for details.