vec_to_cypher: Turn a named vector into a cypher list
Description
`vec_to_cypher()` creates a list, and `vec_to_cypher_with_var()`
creates a cypher call starting with a variable.
Usage
vec_to_cypher(vec, label)
vec_to_cypher_with_var(vec, label, variable)
Arguments
vec
the vector
label
the label of each vector
variable
the variable to use (for `vec_to_cypher()`)
Value
a character vector
Details
This function can be used with small vectors you want to send
to the server. It can for example be used this way :
```
paste("MERGE", vec_to_cypher(iris[1, 1:3], "Species"))
```
to create a cypher call.