code: def select(self, to_select, where=None, sql_params=None):
          '''
          select db entries
  
          :param to_select: string of fields to select
          :param where: where clause (default: None)
          :param sql_params: params for the where clause
          '''
          if sql_params is None:
              sql_params = []
          query = '''
          SELECT %s FROM %s
          ''' % (to_select, self._name)
          if where:
              query = '%s WHERE %s' % (query, where)
          return self._cursor.execute(query, tuple(sql_params)f select(self, to_select, where=None, sql_params=None):
          '''
          select db entries
  
          :param to_select: string of fields to select
          :param where: where clause (default: None)
          :param sql_params: params for the where clause
          '''
          if sql_params is None:
              sql_params = []
          query = '''
          SELECT %s FROM %s
          ''' % (to_select, self._name)
          if where:
              query = '%s WHERE %s' % (query, where)
          return self._cursor.execute(query, tuple(sql_params))
docs: select db entries
  
          :param to_select: string of fields to select
          :param where: where clause (default: None)
          :param sql_params: params for the where clause