def __execute__(self, sql, params=None, bindings=None, maxrows=None):
        cur = self.begin()
        try:
            if bindings:
                cur.execute(sql, params, bindings, maxrows=maxrows)
            elif params:
                cur.execute(sql, params, maxrows=maxrows)
            else:
                cur.execute(sql, maxrows=maxrows)
        finally:
            self.commit(cur, close=isinstance(sql, StringType))
the primary execution method
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/dbexts.py/dbexts.__execute__