Skip to content

Commit

Permalink
Change word values to list (#1295)
Browse files Browse the repository at this point in the history
While the argument says `list` the description contains the word `values` which can lead to confusion.
  • Loading branch information
Shiyam23 committed Aug 21, 2023
1 parent ffdd146 commit 95e1f02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/queries.md
Expand Up @@ -155,8 +155,8 @@ Sometimes it is necessary to build a query based on some conditions or for diffe
| Modifier | Description |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `.optional(cond, qb)` | Extends the query only if the `condition` is `true`. This can be used almost anywhere in a query for example to conditionally sort or limit it. |
| `.anyOf(list, qb)` | Extends the query for each value in `values` and combines the conditions using logical **or**. |
| `.allOf(list, qb)` | Extends the query for each value in `values` and combines the conditions using logical **and**. |
| `.anyOf(list, qb)` | Extends the query for each value in `list` and combines the conditions using logical **or**. |
| `.allOf(list, qb)` | Extends the query for each value in `list` and combines the conditions using logical **and**. |

In this example, we build a method that can find shoes with an optional filter:

Expand Down

0 comments on commit 95e1f02

Please sign in to comment.