Executes commands in the Gremlin language from the Console.
Gremlin is a graph traversal language. OrientDB supports it from the Console, API and through a Gremlin shell launched from
<command>Defines the commands you want to know.
NOTE: OrientDB parses Gremlin commands as multi-line input. It does not execute the command until you type
end. Bear in mind, the
endhere is case-sensitive.
Create a vertex using Gremlin:
gremlin[Started multi-line command. Type just 'end' to finish and execute.] orientdb>
v1 = g.addVertex();orientdb>
endv[#9:0] Script executed in 0,100000 sec(s).