mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
DatabaseRegion is now case-preserving and case-insensitive
This commit is contained in:
1 parent
c02901b335
commit
c0a3e61253
6 files changed
+126
-52
No files matched your search
@@ -161,9 +161,7 @@ struct SQLQueryGenerator: Refinable {
|
||||
return selectedRegion
|
||||
}
|
||||
|
||||
// Database regions are case-sensitive: use the canonical table name
|
||||
let canonicalTableName = try db.canonicalTableName(tableName)
|
||||
return selectedRegion.tableIntersection(canonicalTableName, rowIds: rowIDs)
|
||||
return selectedRegion.tableIntersection(tableName, rowIds: rowIDs)
|
||||
}
|
||||
|
||||
/// If true, executing this query yields at most one row.
|
||||
|
||||
Reference in new issue
Block a user