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

@@ -181,10 +181,10 @@ extension QueryInterfaceSelectQueryDefinition : Request {
return try Int.fetchOne(db, countQuery)!
}
/// The database region read by the request.
public func region(_ db: Database) throws -> DatabaseRegion {
/// The database region that the request looks into.
public func fetchedRegion(_ db: Database) throws -> DatabaseRegion {
let (statement, _) = try prepare(db)
let region = statement.region
let region = statement.fetchedRegion
// Can we intersect the region with rowIds?
//