Thanks to visit codestin.com Credit goes to dev.mysql.com
Syntax:
ccnx.commit()
Commits the current transaction.