hello
im trying to get variables of an array and create node for them so i have a foreach
words.forEach((res, index) => {
to get all of the items and then run this query
session.run(`MERGE (n:words{name:'${res}'})`) }
but i get this error
Queries cannot be run directly on a session with an open transaction; either run from within the transaction or use a different session.
i tried to use rxsession but didnt work