session.close()


关闭会话。如果数据库或会话未打开,或者会话当前正在生成变更集或补丁集,将抛出异常。这个方法是 sqlite3session_delete() 的一个封装。

🌐 Closes the session. An exception is thrown if the database or the session is not open, or if the session is currently generating a changeset or patchset. This method is a wrapper around sqlite3session_delete().