'åœä¿®æ¹æ°æ®åºè¶è¿100æ¬¡å, å°±èªåšcommitæ°æ®.'

def check_commit(self, force=False):

    self.commit_count = (self.commit_count + 1)
    if (force or (self.commit_count >= 100)):
        self.commit_count = 0
        self.conn.commit()
