We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ccd887 commit 3f0afc5Copy full SHA for 3f0afc5
1 file changed
README.md
@@ -190,8 +190,8 @@ var items: [Item]
190
@Query(sort: [SortDescriptor(\.title)])
191
var items: [Item]
192
193
-// No @Query equivalent of filtering
194
-// by 'isInStock: Bool'
+@Query(filter: #Predicate<Item> { $0.isInStock })
+var items: [Item]
195
196
// No @Query equivalent of counting
197
// entries in database without loading
@@ -363,7 +363,7 @@ simple as adding it to your `Package.swift`:
363
364
``` swift
365
dependencies: [
366
- .package(url: "https://github.com/pointfreeco/sharing-grdb", from: "0.4.0")
+ .package(url: "https://github.com/pointfreeco/sharing-grdb", from: "0.5.0")
367
]
368
```
369
0 commit comments