'Prepare a database operation (query or command) and then execute it against all parameter sequences or mappings found in the sequence seq_of_parameters.
Return values are not defined.'

def executemany(self, operation, seq_of_parameters):

    self.messages = []
    totrecordcount = 0
    canCount = True
    for params in seq_of_parameters:
        self.execute(operation, params)
        if (self.rowcount == (-1)):
            canCount = False
        elif canCount:
            totrecordcount += self.rowcount
    if canCount:
        self.rowcount = totrecordcount
    else:
        self.rowcount = (-1)
