T
Size: a a a
T
S
T
S
S
S
exception=ProgrammingError(1054, "1054 (42S22): Unknown column 'test' in 'field list'", '42S22')
<Ч
T
<Ч
ЕП
S
T
T
S
sql1 = "UPDATE posts SET content = %s WHERE uid = %d;"
S
T
T
S
def update_await_text(new_value, tg_id):
t = (new_value, tg_id)
print(t)
connect_str = create_connection(db_host, db_username, db_password, db_name)
cursor = connect_str.cursor()
sql1 = "UPDATE posts SET content = %s WHERE uid = %d;"
cursor.execute(sql1)
cursor.close()
connect_str.commit()
connect_str.close()
S