krlawrence / graph

Practical Gremlin - An Apache TinkerPop Tutorial
Apache License 2.0
836 stars 253 forks source link

Typo in upsert pattern #148

Closed msacks16 closed 5 years ago

msacks16 commented 5 years ago

https://kelvinlawrence.net/book/Gremlin-Graph-Guide.html#upsert g.V(3).fold(). coalesce(unfold().property('runways','3'), addV('airport').property('runways',3))

v[3]

should be:

g.V(3).fold(). coalesce(unfold().property('runways',3), addV('airport').property('runways',3))

v[3]

krlawrence commented 5 years ago

Thanks Max

krlawrence commented 5 years ago

Fixed in release 282 - October 25th 2019