Closed
Description
If we have an entity, e.g. city:
{
"name": "New York"
}
And we try to find it, ignoring case with the following repository method:
@Repository
public interface CityRepo extends ReactiveCouchbaseRepository<City, String> {
Flux<City> findByNameIgnoreCase(String name);
}
It generates the following query:
Created query WHERE `name` = "NEW YORK" for * fields.
And consequently doesn't find the existing city entity with the name "New York".