SelectionInfo.rowIds contains the rowIds fetched by a request

This commit is contained in:
Gwendal Roué committed 2018-01-14 22:05:18 +01:00
1 parent 1a89b2eae5
commit 9c8a9fbe32
8 files changed
+265 -2

No files matched your search

@@ -26,6 +26,11 @@ extension QueryInterfaceRequest : TypedRequest {
public func fetchCount(_ db: Database) throws -> Int {
return try query.fetchCount(db)
}
/// Returns information about the table and columns read by the request.
public func selectionInfo(_ db: Database) throws -> SelectStatement.SelectionInfo {
return try query.selectionInfo(db)
}
}
extension QueryInterfaceRequest {