📜  Flask api 中最后执行的查询 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:48.999000             🧑  作者: Mango

代码示例1
try:
    cursor.execute(sql, (arg1, arg2))
    connection.commit()
except:
    print(cursor._last_executed)
    raise