I have to create multiple vertices in gremlin graph in its console using local DynamoDB few commands.
Uses := TitanDB
Storage Backend := DynamoDB
Server := Gremlin server
I have to create multiple vertices in gremlin graph in its console using local DynamoDB few commands.
Uses := TitanDB
Storage Backend := DynamoDB
Server := Gremlin server
Here's the same example I provided previously
It creates 2 vertices and 1 edge. This example shows a direct connection to the Titan graph without using a Gremlin Server.
If you want to connect to a Gremlin Server, the syntax is largely the same. First create a remote connection to the Gremlin Server, then you have to use
:>
or:submit
to send the request to the server. Also note that you don't need to explicitly callgraph.tx().commit()
because the transaction is automatically committed on each remote request.