def METHOD_NAME(self):
    cursor = self.connect.cursor()
    cursor.execute("SELECT title FROM {}".format(self.db_name))
    ids = [ids[0] for ids in cursor.fetchall()]
    cursor.close()
    return ids