I struggled with this for hours before finding out that you have to use from_
instead of from
when using gremlin javascript.
After digging through the source code I finally found out that the code is using from_
instead of from
(see code). Since I'm a newbie this comes off as strange because its counterpart to
is still to
(and not to_
, see code here)
I googled everywhere but couldn't find the reason why this works this way, and feel uneasy about using the underscore version since most of the times underscores denote private methods that users should not really trust.
Also, is there an official documentation page for gremlin javascript somewhere I'm missing? I'm concerned I may run into these problems in the future and there's not really an official documentation for the JavaScript version and I may need to go through the same struggle. I like gremlin, but if the JavaScript version is not stable and should not be used, I might as well look into other alternatives than Tinkerpop suites.