Guide
Mutations require a write batch. The SDK type prevents a mutating traversal from being
placed in a read batch.
Create two nodes and an edge
Other mutations
Transaction behavior
All entries in the write batch commit or roll back together. Reads inside the batch can refer to earlier mutations through named variables. Do not retry a write automatically unless the full request is safe to replay. Cypher has no batch type: the server detects that a statement writes and runs it in one transaction, so the Cypher tab’s threeCREATE clauses also commit or roll back
together. SQL sends one statement per request, so the SQL tab is two requests and
two transactions: the first commits both users, and the second connects them.
Next steps
Typed parameters
Pass request-specific values without changing the AST shape.
Secondary indexes
Accelerate equality, uniqueness, and range lookups.