This cypher query is working on Neo4j Browser but its not working with javascript driver. It returns 0 record. I need ID of node a.
const result: v1.StatementResult = await session.run(
'MATCH (f:Firma) WHERE id(f) = $fId MERGE (f)-[y:YASIYOR{tip:$aTip}]->(a:Adres{mahalle: $aMah, cadSok: $aCadSok, numara: $aNo, daire: $aDaire}) RETURN a',
{
aCadSok: 'some',
aDaire: 'dummy',
aMah: 'variables',
aNo: 'for',
aTip: 'testing',
fId: 1163
}
);