im trying create node with 1 unique property called name so i try create something like this
CREATE CONSTRAINT ON (n:words) assert n.name is unique
and after that
create (n:words{name:"test"})
so my problem is i dont want to be case sensitive i mean for example if we send word and Word it doesn't create the second one
and next thing i wanna ask is when i use above query it says this feature is deprecated so is there any new way? and because i wanna use this on node js is it problem to repeat the first query?
one more thing in node js im trying to get all index of array with foreach and then merge it into neo4j the problem i have is it just merge 1 item into database my code is: