mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Cleanup DatabaseRegion: no more public intersection, no more public way to specify rowids
This commit is contained in:
1 parent
581c1c46e2
commit
938977bbca
5 files changed
+127
-134
No files matched your search
@@ -212,8 +212,9 @@ extension QueryInterfaceSelectQueryDefinition : Request {
|
||||
return region
|
||||
}
|
||||
|
||||
// Intersect
|
||||
return try region.intersection(db.region(rowIds: rowIds, in: tableName))
|
||||
// Database regions are case-insensitive: use the canonical table name
|
||||
let canonicalTableName = try db.canonicalName(table: tableName)
|
||||
return region.tableIntersection(canonicalTableName, rowIds: rowIds)
|
||||
}
|
||||
|
||||
private var countQuery: QueryInterfaceSelectQueryDefinition {
|
||||
|
||||
Reference in new issue
Block a user