hey guys. so i have this repo class:
@Repository
@EnableJpaRepositories
public interface ItemRepository extends JpaRepository<Item,Long> {
public List<Item> getAllByDistanceAndSeason(double distance, String season);
}
So i want to be able to get records where season in db is the same as in the request AND get all records from the where season is all. and also combine with db records, where db records has less or equal distance than distance in the request. is it possible? how can i do that?