(self, curs, sql, baseargs, extra_list, quiet = False, prefix=None)
return (ok, rows)
Internal tool: Run SQL on cursor multiple times.
Internal tool: Run SQL on cursor multiple times.
Internal tool : Run SQL on cursor multiple times .
def _exec_cmd_many(self, curs, sql, baseargs, extra_list, quiet = False, prefix=None):
        """Internal tool: Run SQL on cursor multiple times."""
        ok = True
        rows = []
        for a in extra_list:
            (tmp_ok, tmp_rows) = self._exec_cmd(curs, sql, baseargs + [a], quiet, prefix)
            if not tmp_ok:
                ok = False
            rows += tmp_rows
        return (ok, rows)
def _exec_cmd_many ( self , curs , sql , baseargs , extra_list , quiet = False , prefix = None ) : ok = True rows = [ ] for a in extra_list : ( tmp_ok , tmp_rows ) = self . _exec_cmd ( curs , sql , baseargs + [ a ] , quiet , prefix ) if not tmp_ok : ok = False rows += tmp_rows return ( ok , rows )