Spring Boot, Sorting, Searching, Filtering, Pagination.
object. It means we want to fetch all projects from repo. 👉 If the sorting field or direction is not provided or is blank, it sets default values. For sorting, it defaults to sorting by the id field. For direction, it defaults to descending (DESC). 👉 Finally, it creates and returns a PageRequest