XCode7 beta 6 updates

This commit is contained in:
John Estropia committed 2015-08-25 14:24:18 +09:00
1 parent 2bcf8008c5
commit 69f902ef20
7 files changed
+13 -20

No files matched your search

@@ -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 {