-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Create multiple nodes with a parameter for their properties
By providing Cypher® an array of maps, it will create a node for each map.
UNWIND $props AS map
CREATE (n)
SET n = map
Discovered that the client does not support it
private static String valueToString(Object value) {
if(value == null) return "null";
if(value instanceof String){
return quoteString((String) value);
}
if(value instanceof Character){
return quoteString(((Character)value).toString());
}
if(value instanceof Object[]){
return arrayToString((Object[]) value);
}
if(value instanceof List){
@SuppressWarnings("unchecked")
List<Object> list = (List<Object>) value;
return arrayToString(list.toArray());
}
return value.toString();
}it doesn't have a toString for maps
com.falkordb.impl.Utils line 68
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request