import static org.springframework.data.mongodb.core.query.Criteria.where;
import static org.springframework.data.mongodb.core.query.Query.query;
这是mongodb的包,
但是我没知道 spring data jpa 的 where等。 但是官方这样的 :
List<Customer> customers = customerRepository.findAll(
where(isLongTermCustomer())
这个where包位置在哪里 ?