I have a search query which is working in the database client but when using it in nodejs having quotes parsing error.
Here is the original query
match (n)-[l:DATA_FLOWS]->(m) where l.nme =~ '(?i).*new.*' return n, l, m
I'm trying use it in coding.
session.run('match (n)-[l:DATA_FLOWS]->(m) where l.nme =~ ''(?i).*'{feedParam}'.*' return n, l, m', {feedParam:search.value}).then(function (result) {
How to complete the quotes to make it work?