Ends the current transaction associated with this database object.
This function commits all changes to objects since the start of the current transaction.