easy-es/docs/and.md
2022-03-17 11:01:44 +08:00

8 lines
234 B
Markdown

```java
and(Consumer<Param> consumer)
and(boolean condition, Consumer<Param> consumer)
```
- AND 嵌套
- 例: and(i -> i.eq(Document::getTitle, "Hello").ne(Document::getCreator, "Guy"))--->and (title ='Hello' and creator != 'Guy' )