且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何通过 Python 在 PostgreSQL 中插入列注释?

更新时间:2023-11-30 20:31:40

您没有提交更改,因此它们会自动回滚.一种方法是:

You did not commit your changes, so they are automatically rolled back. One way to do it is:

con.execute(text(stmt).execution_options(autocommit=True))