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

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

Open
krlawrence opened this issue Mar 9, 2020 · 0 comments
Open

Comments

@krlawrence
Copy link
Owner

krlawrence commented Mar 9, 2020

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 krlawrence self-assigned this Mar 9, 2020
@krlawrence krlawrence changed the title Add example of project() on valueMap() Discuss null improvements and add example of project() on valueMap() Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant