как исправить эту ошибку? Ниже код. pymysql.err.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'limit=1 WHERE uid=621252537' at line 1")
def abonus(user_id,money):
connection = connect()
with connection.cursor() as cursor:
result = cursor.execute(F'SELECT * FROM accounts WHERE uid={user_id}')
panos = cursor.fetchone()
if result == 1:
panos["limit"] += 1
cursor.execute(f'UPDATE accounts SET limit={panos["limit"]} WHERE uid={user_id}')
connection.commit()