def delete(uid):
        '''
        Delete by uid
        '''

        del_count = TabPostHist.delete().where(TabPostHist.uid == uid)
        try:
            del_count.execute()
            return False
        except:
            return True