def transfer(self, src, where="(1=1)", params=[]):
        sql = "select %s from %s where %s" % (", ".join(self.columns), self.table, where)
        h, d = src.raw(sql, params)
        if d:
            map(self.rowxfer, d)
            return self.done()
        return 0
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/dbexts.py/Bulkcopy.transfer/original