S
cursor.execute("UPDATE posts SET content = ? WHERE uid = ?;", t)
exception=ProgrammingError(-1, 'Not all parameters were used in the SQL statement', None)>
Size: a a a
S
cursor.execute("UPDATE posts SET content = ? WHERE uid = ?;", t)
exception=ProgrammingError(-1, 'Not all parameters were used in the SQL statement', None)>
S
ЕП
T
S
def update_await_post_publish(tg_id, value, new_value):
t = (value, new_value, tg_id)
connect_str = create_connection(db_host, db_username, db_password, db_name)
cursor = connect_str.cursor()
if (cursor.execute("UPDATE posts SET content = ? WHERE uid = ?;", t)):
return True
cursor.close()
connect_str.commit()
connect_str.close()
S
S
S
T
S
S
S
T
T
S
S
T
S
T
T