def delete(self, table, field='', condition=''):
        """
        @brief      execute sql commands, return result if it has
        @param      table  String
        @param      field  String
        @param      condition  String
        """
        sql = "DELETE FROM %s WHERE %s=?" % (table, field)
        Log.debug('DB -> %s' % sql)
        cond = (condition,)
        self.execute(sql, cond)

        @brief      execute sql commands, return result if it has
        @param      table  String
        @param      field  String
        @param      condition  String
        
wxbot_project_py2.7/db/sqlite_db.py