If I have a created a query with multiple filters, than how I pass in my repository method.
@Query(value=":customQuery",nativeQuery=true)
public List<Employee> findAllBYFilters(String customQuery,@Param("isActive") boolean isVisible, @Param("pageRequest") Pageable pageRequest);
Please guide me how I pass a complex query(which I create in service class by using multiple filters) in this method.