0

Cosmos DB Gremlins two graph ( container ) - graph1 & graph 2 .

graph1- - person(node ) graph2- - city(node )

can we make edge between person and city where they are located different container ?

enter image description here

Jack
  • 21
  • 1
  • 5

1 Answers1

0

can we make edge between person and city where they are located different container ?

No, AFAIK it is not possible. You can only connect two nodes in the same container.

Gaurav Mantri
  • 128,066
  • 12
  • 206
  • 241
  • Thanks Gaurav . I tried lot but did not succeed to connect two node b/w different container . Did you find any Cosmos db doc where its mentioned that its not possible for our documents ? – Jack Jun 24 '21 at 15:27
  • Unfortunately I am not able to find any documentation regarding this. – Gaurav Mantri Jun 24 '21 at 15:31
  • thanks . even I tried to find some doc to show management but not finding any thanks for respond – Jack Jun 24 '21 at 15:43
  • If you're on Twitter, you can tag @azurecosmosdb and ask them the same. – Gaurav Mantri Jun 24 '21 at 15:45
  • As stated in the answer, it is no possible to connect and edge and node in two different containers. Tweeting at the Cosmos Twitter handle will not yield any better answers given that I'm the one monitoring it. A good source of documentation for Gremlin that you may want to look at is here, https://tinkerpop.apache.org/gremlin.html – Mark Brown Jun 24 '21 at 17:55