Skip to content

Commit b54a583

Browse files
Added note on dynamic labels in INSERT (#1193)
Co-authored-by: Jens Pryce-Åklundh <[email protected]>
1 parent e7213e2 commit b54a583

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/ROOT/pages/clauses/create.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ RETURN greta.name AS name, labels(greta) AS labels, type(rel) AS relType, collec
263263
== `INSERT` as a synonym of `CREATE`
264264

265265
`INSERT` can be used as a synonym to `CREATE` for creating nodes and relationships, and was introduced as part of Cypher's xref:appendix/gql-conformance/index.adoc[].
266-
However, `INSERT` requires that multiple labels are separated by an ampersand `&` and not by colon `:`.
266+
However, `INSERT` requires that multiple labels are separated by an ampersand `&` and not by colon `:`.
267+
Additionally, `INSERT` does not support using dynamic node labels and relationship types.
267268

268269
.Query
269270
[source, cypher, indent=0]

0 commit comments

Comments
 (0)