Skip to content

Commit 61d6cdc

Browse files
committed
README
1 parent 357d2d4 commit 61d6cdc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ Query(Language.self).filter { any(ci($0.developers.lastName %* "*s*")) }
5151
We can get the `NSFetchRequest` produced by the query by asking for its `fetchRequest` property. But it's usually easier just to execute the fetch request directly:
5252

5353
```swift
54-
let rustaceans = try Query(Developer.self)
54+
let cooldevs = try Query(Developer.self)
5555
.filter {
56-
any($0.languages.name == "Rust") && $0.experience >= 3
56+
// ANY languages.name IN {"Rust","Haskell"}
57+
any($0.languages.name <~| ["Rust", "Haskell"])
5758
}
5859
.fetch(moc)
5960
```

0 commit comments

Comments
 (0)