mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-12-03 05:34:00 +01:00
typed arrays
This commit is contained in:
1 parent
e9ac8629a1
commit
9d7960e674
2 files changed
+2
-2
No files matched your search
@@ -119,7 +119,7 @@ public struct Where: FetchClause, QueryClause, DeleteClause, Hashable {
|
||||
- parameter keyPath: the keyPath to compare with
|
||||
- parameter list: the array to check membership of
|
||||
*/
|
||||
public init(_ keyPath: KeyPath, isMemberOf list: NSArray) {
|
||||
public init(_ keyPath: KeyPath, isMemberOf list: [NSObject]) {
|
||||
|
||||
self.init(NSPredicate(format: "\(keyPath) IN %@", list))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user