Skip to content

Commit 86895e8

Browse files
committed
docs: README updates
1 parent d60ae48 commit 86895e8

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ var input = """FirstName == "Jane" && Age < 10""";
7979
var input = """FirstName == "Jane" || FirstName == "John" """;
8080
```
8181

82-
Additionally, you can use `^^` for an `in` operator. You can add an `*` and use `^^*` for case-insensitivity as well:
83-
84-
```c#
85-
var input = """(Age ^^ [20, 30, 40]) && (BirthMonth ^^* ["January", "February", "March"]) || (Id ^^ ["6d623e92-d2cf-4496-a2df-f49fa77328ee"])""";
86-
```
87-
8882
### Order of Operations
8983

9084
You can use order of operation with parentheses like this:
@@ -115,9 +109,16 @@ There's a wide variety of comparison operators that use the same base syntax as
115109
| Does Not Sound Like | !~ | N/A | N/A |
116110
| Has | ^$ | ^$* | N/A |
117111
| Does Not Have | !^$ | !^$* | N/A |
112+
| In | ^^ | ^^* | N/A |
118113

119114
> `Sounds Like` and `Does Not Sound Like` requires a soundex configuration on your DbContext. For more info see [the docs below](#soundex)
120115
116+
Here's Example for the `in` operator:
117+
118+
```c#
119+
var input = """(Age ^^ [20, 30, 40]) && (BirthMonth ^^* ["January", "February", "March"]) || (Id ^^ ["6d623e92-d2cf-4496-a2df-f49fa77328ee"])""";
120+
```
121+
121122
### Filtering Notes
122123

123124
* `string` and `guid` properties should be wrapped in double quotes
@@ -332,7 +333,7 @@ public sealed class PersonConfiguration : IEntityTypeConfiguration<SpecialPerson
332333
```
333334

334335
> **Warning**
335-
> EF properties configured with `HasConversion` are not supported at this time -- if this is a blocker for you, i'd love to hear your use case
336+
> EF properties configured with `HasConversion` are not supported at this time
336337
337338
## Sorting
338339

0 commit comments

Comments
 (0)