Skip to content
This repository has been archived by the owner on Dec 29, 2024. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants