Skip to content

Commit

Permalink
пример удаления из БД
Browse files Browse the repository at this point in the history
  • Loading branch information
Son-of-Henry-Ford committed Feb 14, 2025
1 parent 8801dfa commit 326fbc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hello_world/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@

print(f'Extracted value {result}')

# deleting value
conn.query("MATCH (n: Node {id: %d}) DELETE n" % expected)
print('Value deleted')

conn.close()

assert expected == result

0 comments on commit 326fbc8

Please sign in to comment.