FetchedRecordsController TODO

This commit is contained in:
Gwendal Roué committed 2016-03-27 11:15:31 +02:00
1 parent ef0d2c6234
commit c845c19477
1 file changed
+1
@@ -554,6 +554,7 @@ private final class FetchedRecordsObserver<Record: RowConvertible> : Transaction
// Invalidated?
guard let controller = self.controller else { return }
// TODO: how can we perform this in a parallel thread?
let statement = try! controller.source.selectStatement(db)
let fetchedItems = Item<Record>.fetchAll(statement)