diff --git a/modules/ROOT/pages/values-and-types/vector.adoc b/modules/ROOT/pages/values-and-types/vector.adoc index 582ac13f4..e8a0c1da5 100644 --- a/modules/ROOT/pages/values-and-types/vector.adoc +++ b/modules/ROOT/pages/values-and-types/vector.adoc @@ -149,7 +149,7 @@ RETURN n.vectorProp AS vectorProp .Query [source, cypher] ---- -CREATE (n:Label {vectorProp: $floatList}) +CREATE (n:Label {vectorProp: vector($floatList, 5, FLOAT)}) RETURN n.vectorProp AS vectorProp ----