Files
spring-data-redis/src/main/java/org/springframework/data
Mark Paluch d73a0e1677 DATAREDIS-771 - Add support for IsTrue and IsFalse keywords in repository query methods.
We now support IsTrue and IsFalse keywords usage in repository query methods to create queries with predicates for boolean fields values without requiring to pass a boolean argument.

class Person {

    @Id String id;

    @Indexed Boolean alive;
}

interface PersonRepository extends Repository<Person, String> {

    Person findByAliveIsTrue();

    Person findByAliveIsFalse();
}

Original Pull Request: #342
2018-05-23 11:14:39 +02:00
..