The question is what are allowed character for the label of the vertices in CosmosDB? Could I use these $,-,_,~,#,@,%,^,|, ...
ascii printable characters in label of a vertex in gremlin query?
Asked
Active
Viewed 295 times
1

OmG
- 18,337
- 10
- 57
- 90
1 Answers
1
Yes, you can. I cannot find any reference to the gremlin or Cosmos DB documentation about this. However, as I've tested, As the set label is located as a value for label property for a vertex, there is no limitation on the value of the label. Hence, you can run the following in Cosmos DB without any problem:
g.addV('~!@#$%^&*()_+=')
Also, you can set these ascii printable characters as a property name for the vertices and edges.

OmG
- 18,337
- 10
- 57
- 90