Skip to content

Commit ed2aa54

Browse files
Victor LeeVictor Lee
Victor Lee
authored and
Victor Lee
committed
DOC-1955-from-clause-ebnf
1 parent a1413f4 commit ed2aa54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/querying/pages/select-statement/select-statement-v1.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ In classic (Syntax v1) GSQL, the FROM clause describes one step or hop pattern.
4949
.FROM clause
5050
[source,ebnf]
5151
----
52-
fromClause := FROM (step | stepV2 | pathPattern ["," pathPattern]*)
52+
fromClauseV1 := FROM step
53+
fromClauseV2 := FROM stepV2 | pathPattern ["," pathPattern]*)
54+
fromClause := fromClauseV1 | fromClauseV2
5355
----
5456
5557
A hop or step consists of going from a starting set of vertices, crossing over a set of their edges, to an ending set of vertices.

0 commit comments

Comments
 (0)