Skip to content

Commit 533a846

Browse files
committed
Document that the shortestPath() and allShortestPath() functions can only have a lower bound of 0 or 1 for its variable length pattern
1 parent d3adebd commit 533a846

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/ROOT/pages/patterns/reference.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,6 +1372,7 @@ They are similar to `SHORTEST 1` and `ALL SHORTEST`, but with several difference
13721372
* The path pattern is passed as an argument to the functions.
13731373
* The path pattern is limited to a single relationship pattern.
13741374
* To return results where the first and last node in the path are the same requires a change to the configuration setting link:{neo4j-docs-base-uri}/operations-manual/{page-version}/configuration/configuration-settings/#config_dbms.cypher.forbid_shortestpath_common_nodes[`dbms.cypher.forbid_shortestpath_common_nodes`].
1375+
* The minimum path length, also called the lower bound of the variable length relationship pattern, should be 0 or 1.
13751376

13761377
Both functions will continue to be available, but they are not xref:appendix/gql-conformance/index.adoc[GQL conformant].
13771378

0 commit comments

Comments
 (0)