Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksadacic authored Feb 4, 2025
1 parent 2195fb5 commit ae91e52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ List<User> users = userRepository.findAll(spec);

```java
Query<User> query = Query
.where("name", FilterOperation.EQUALS, "John")
.and("age", FilterOperation.GREATER_THAN, 25);
.where("name", SearchOperator.EQ, "John")
.and("age", SearchOperator.GT, 25);

List<User> users = userRepository.findAll(query.buildSpecification());
```
Expand Down

0 comments on commit ae91e52

Please sign in to comment.