code: def end(self, sql=None):
          
          self._transaction = False
          try:
              end = self._con.end
          except AttributeError:
              return self._con.query(sql or 'end')
          else:
              if sql:
                  return end(sql=sql)
              else:
                  return end()
docs: Commit the current transaction.