release is a method of the SapDB_Session class (sdb.sql module). You can use this method to close the current connection to the database. After closing the current connection, you can no longer access the corresponding object of the SapDB_Session class.
Syntax
release (with_commit = False)
Attribute |
Description |
---|---|
with_commit |
Optional True: Transaction is ended with COMMIT False: Transaction is ended with ROLLBACK (default value) |