Rename Statement.region and Request.region to fetchedRegion

This commit is contained in:
Gwendal Roué committed 2018-01-17 06:54:10 +01:00
1 parent bb48025947
commit c4ef161a83
10 files changed
+84 -84

No files matched your search

@@ -27,9 +27,9 @@ extension QueryInterfaceRequest : TypedRequest {
return try query.fetchCount(db)
}
/// The database region read by the request.
public func region(_ db: Database) throws -> DatabaseRegion {
return try query.region(db)
/// The database region that the request looks into.
public func fetchedRegion(_ db: Database) throws -> DatabaseRegion {
return try query.fetchedRegion(db)
}
}