Method release

Use

release is a method of theclass SapDB_Session.

With this method you close the current connection to the database instance. You can then no longer access the object of the class SapDB_Session.

Features

release (with_commit = False)

with_commit

Optional

True: Transaction is ended with COMMIT

False: Transaction is ended with ROLLBACK (default value)

Example

Connecting/Closing the Connection to the Database Instance