Function documentationrelease Method (SapDB_Session Class) Locate this document in the navigation structure

 

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.

Features

Syntax Syntax

  1. release (with_commit = False)
End of the code.
release Method: Attributes

Attribute

Description

with_commit

Optional

True: Transaction is ended with COMMIT

False: Transaction is ended with ROLLBACK (default value)