PONPON
Node
since ‎03-19-2020
‎06-01-2022

User Statistics

  • 3 Posts
  • 0 Solutions
  • 0 Kudos given
  • 0 Kudos received

User Activity

I'm developing an article recommendation system. When a user read article1, article2, ..., and articlen, the system recommend next articles. I want to do something like the following: MATCH (a:Article) WHERE {for all x such that (x:Article)-[:next]->...
If I run this example (JavaScript), I get the following error: const result = await session.writeTransaction(tx => ^^^^^ SyntaxError: await is only valid in async function My code is as follows: const uri = 'bolt://my.ip.add.ress:76...