mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-30 12:34:16 +02:00
XCode7 beta 6 updates
This commit is contained in:
@@ -201,7 +201,7 @@ public extension BaseDataTransaction {
|
||||
}
|
||||
}
|
||||
|
||||
for object in self.fetchAll(From(T), Where("%K IN %@", T.uniqueIDKeyPath, mapping.keys.array)) ?? [] {
|
||||
for object in self.fetchAll(From(T), Where("%K IN %@", T.uniqueIDKeyPath, Array(mapping.keys))) ?? [] {
|
||||
|
||||
try autoreleasepool {
|
||||
|
||||
@@ -261,7 +261,7 @@ public extension BaseDataTransaction {
|
||||
}
|
||||
|
||||
var objects = Dictionary<T.UniqueIDType, T>()
|
||||
for object in self.fetchAll(From(T), Where("%K IN %@", T.uniqueIDKeyPath, mapping.keys.array)) ?? [] {
|
||||
for object in self.fetchAll(From(T), Where("%K IN %@", T.uniqueIDKeyPath, Array(mapping.keys))) ?? [] {
|
||||
|
||||
try autoreleasepool {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user