def insert(self, table, value):
        """
        @brief      Insert a row in table
        @param      table  String
        @param      value  Tuple
        """
        col_name = self.table_cols[table][1:]
        sql = "INSERT INTO %s(%s) VALUES (%s)" % (table, str(','.join(col_name)), array_join(value, ','))
        Log.debug('DB -> %s' % sql)
        self.execute(sql)

        @brief      Insert a row in table
        @param      table  String
        @param      value  Tuple
        
wxbot_project_py2.7/db/mysql_db.py