def select(self, table, field='', condition=''):
        """
        @brief      select all result from table
        @param      table  String
        @param      field  String
        @param      condition  String
        @return     result  Tuple
        """
        result = []
        if field and condition:
            cond = (condition,)
            sql = "SELECT * FROM %s WHERE %s=?" % (table, field)
            Log.debug('DB -> %s' % sql)
            result = self.execute(sql, cond)
        else:
            sql = "SELECT * FROM %s" % table
            Log.debug('DB -> %s' % sql)
            result = self.execute(sql)
        return result

        @brief      select all result from table
        @param      table  String
        @param      field  String
        @param      condition  String
        @return     result  Tuple
        
wxbot_project_py2.7/db/sqlite_db.py