Skip to content

Commit

Permalink
DOC-2112-fix-delete-edge-EBNF-3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
victorleeTG authored Aug 14, 2024
1 parent e17a651 commit 6c8e7ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ddl-and-loading/pages/creating-a-loading-job.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ CREATE LOADING JOB abc FOR GRAPH Graph_Name {
DELETE VERTEX vertex_type_name (PRIMARY_ID id_expr) FROM f [WHERE condition] ;
// Delete each edge which has the given edge type, source vertex id, target vertex id, and discriminator value if provided.
DELETE EDGE edge_type_name (FROM id_expr, TO id_expr, DISCRIMINATOR (id_expr)) FROM f [WHERE condition] ;
DELETE EDGE edge_type_name (FROM id_expr, TO id_expr[, DISCRIMINATOR (id_expr)] ) FROM f [WHERE condition] ;
// Delete all edges which have the given edge type and source vertex id. (Destination vertex id is left open.)
DELETE EDGE edge_type_name (FROM id_expr) FROM f [WHERE condition] ;
Expand Down Expand Up @@ -1145,4 +1145,4 @@ DELETE EDGE Study_At (from $"person_id", to $"university_id",
====
There is a separate DELETE statement in the GSQL Query Language. The query delete statement can leverage the query language's ability to explore the graph and to use complex conditions to determine which items to delete.
In contrast, the loading job delete statement requires that the id values of the items to be deleted must be specified in advance in an input file.
====
====

0 comments on commit 6c8e7ab

Please sign in to comment.