Closed pigping88 closed 1 year ago
StringMatcher
does not provide a constant for not equals, it supports only exact/ starting/ending/containing modes.
And , i need the conditional querying with R2dbcRepository. such as:
@Query("select * from table t where if conditionA ? t.x = xx : t.y = xx")
Query by Example is not intended for IS NOT EQUAL TO
queries (!=
), but rather to match an example.
How to findby neq by using r2dbcRepository ?
r2dbcRepository.findBy(Example.of(T, ExampleMatcher), queryFuction -> {})