mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Rename Statement.region and Request.region to fetchedRegion
This commit is contained in:
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?
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user