Help Center/ Graph Engine Service/ FAQs/ API Use/ Can I Run Several Gremlin/Cypher Commands At a Time?
Updated on 2022-12-08 GMT+08:00

Can I Run Several Gremlin/Cypher Commands At a Time?

  • You can run multiple Gremlin commands at a time. You need to separate the commands by semicolons (;).

    Example:

    graph = EywaGraph.open('ges_6715');g = graph.traversal();g.V().limit(1)
  • However, you cannot run multiple Cypher commands at a time.

For details about the Cypher syntax, see Cypher Query. For details about the Gremlin syntax, see Gremlin Query.