79593683

Date: 2025-04-26 07:38:45
Score: 0.5
Natty:
Report link

In your SQL query:

UPDATE User SET balance = ? WHERE id = ?;

You were binding them in the wrong order. Correct binding order:

sqlite3_bind_double(updateStatement, 1, balance) // 1 — balance
sqlite3_bind_int(updateStatement, 2, Int32(id))  // 2 — id
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kiryl Famin