Skip to content

Commit

Permalink
function casing #5
Browse files Browse the repository at this point in the history
Co-authored-by: Robsdedude <rouven.bauer@neo4j.com>
  • Loading branch information
fbiville and robsdedude committed Jan 17, 2022
1 parent 00bba75 commit 159b48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion movies_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ async def vote_in_movie(title: str):
async def work(tx):
result = await tx.run(
"MATCH (m:Movie {title: $title}) "
"SET m.votes = COALESCE(m.votes, 0) + 1;",
"SET m.votes = coalesce(m.votes, 0) + 1;",
{"title": title})
return await result.consume()

Expand Down

0 comments on commit 159b48f

Please sign in to comment.