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

[SCRIPT EVALUATION ERROR] on setting UUID #41

Open
bobvanluijt opened this issue Jul 4, 2018 · 1 comment
Open

[SCRIPT EVALUATION ERROR] on setting UUID #41

bobvanluijt opened this issue Jul 4, 2018 · 1 comment

Comments

@bobvanluijt
Copy link

The following results in the evaluation error: g.addV(" + thing.AtClass + ").property(T.id, uuid)

The issue lies in T.id but I'm not sure how to set this value.

thanks

@rossb83
Copy link

rossb83 commented Nov 12, 2018

the proper gremlin syntax for what you are trying to do is

g.addV('label').property(id, 'uuid')

Note that "label" is in single quotes, "uuid" is in single quotes, and id is not. I have gotten this to work, so I think the script evaluation error that is being returned is due to incorrect gremlin syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants