Running this query will result in an error.
g.V().has('id','Espresso').fold().coalesce(unfold(),addV('Character').property('id','Espresso').property('type','Character').property('birthdate', '4 December').property('gender', 'male').property('description', 'a male puppy living near the park in the biggest house around. Espresso is very intelligent and well-bred, but he gets lonely and whines sometimes. He's known for his distinguished Mozart hairstyle. His owner is a famous actress, and his dad is a well-known movie director. Espresso is especially good at drawing, painting, and music. But he can’t sleep without his favorite blanket which makes him whine and cry like a sad puppy so very much.').property('name', 'Espresso').property('partitionKey', 'pk').property('label', 'Character'))
Here is result:
Error
Failure in submitting query: g.V().has('id','Espresso').fold().coalesce(unfold(),addV('Character').property('id','Espresso').property('type','Character').property('birthdate', '4 December').property('gender', 'male').property('description', 'a male puppy living near the park in the biggest house around. Espresso is very intelligent and well-bred, but he gets lonely and whines sometimes. He's known for his distinguished Mozart hairstyle. His owner is a famous actress, and his dad is a well-known movie director. Espresso is especially good at drawing, painting, and music. But he can’t sleep without his favorite blanket which makes him whine and cry like a sad puppy so very much.').property('name', 'Espresso').property('partitionKey', 'pk').property('label', 'Character')): <br>Script eval error: ActivityId : ---ExceptionType : GraphSyntaxException ExceptionMessage : Gremlin query syntax error: Missing ')' @ line 1, column 364.
We expect query to execute correctly.
New contributor
Moe Suzuki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.