How to use pageable sort function in custom JPQL? – Mysql
I have a jpql as: @Query("SELECT b FROM Booking b WHERE " + "(:officeId is null OR b.officeId = :officeId) AND " + "(:status is null OR b.status = :status) AND " + "(:type is null OR b.officeType = :type)…