Skip to content

Ignore case queries don't work #1421

Closed
Closed
@ilyavy

Description

@ilyavy

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".

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions