commit method

Commits outstanding changes to the database.

Syntax
commit()