DEV Community

Discussion on: How to build custom queries with Spring Data Reactive MongoDB

Collapse
 
jendorski profile image
Jendorski

So this is really cool, the article.

I am working on a little project and i discovered that in Generated Query Methods, i cannot have Logical Operators like AND, NOT, OR.

For example,

private Mono> findByUserAndUserAgeNotNull(int userID);

Is it compulsory, i use the Query and Criteria methods, or are there Generated Logical Methods that are possible to use.

Thanks.