This will work:
const createMetros = `UNWIND ['NYC, 'Cavite Island'] AS metro MERGE (m:Metro {name: metro})`
await this.persistenceManager.execute(new QuerySpecification<void>(createMetros));
This will not:
const createMetros = `UNWIND $metros AS metro MERGE (m:Metro {name: metro})`
await this.persistenceManager.execute(
new QuerySpecification<void>(createMetros).bind({metros: ['NYC', 'Cavite Island'));
This will work:
This will not: