I'll be adding a lot of books to the database over time, if I always search through all the books everytime I want to display the books, it may be a slower search. If I can mark the books with a boolean representing 'isBestSeller', I can choose to search only those books in the db depending on what I'm needing to query.
Can't remove the books since they still need to stay on user's shelves. But can limit the search to what is relevant.
I'll be adding a lot of books to the database over time, if I always search through all the books everytime I want to display the books, it may be a slower search. If I can mark the books with a boolean representing 'isBestSeller', I can choose to search only those books in the db depending on what I'm needing to query.
Can't remove the books since they still need to stay on user's shelves. But can limit the search to what is relevant.