graph icon indicating copy to clipboard operation
graph copied to clipboard

Discuss null improvements and add example of project() on valueMap()

Open krlawrence opened this issue 5 years ago • 0 comments

Discuss the fact that a null value can now flow through a traversal which alleviates the need to often do coalesce(x, constant(0)) type tricks.

gremlin> g.V('3').project('x').by('IDoNotExist')
==>[x:null]

Also add one or more examples along the following lines: (added in TP 3.4.5)

gremlin> g.V(0,1,2).valueMap().project('x').by('runways')
==>[x:null]
==>[x:[5]]
==>[x:[3]]

krlawrence avatar Mar 09 '20 21:03 krlawrence