mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-23 04:04:22 +00:00
TableMapping.selectsRowID + passing tests for FTS3Record
This commit is contained in:
1 parent
a1f3d42fd0
commit
2d6abc088f
12 files changed
+634
-47
No files matched your search
@@ -71,10 +71,10 @@ struct QueryInterfaceSelectQueryDefinition {
|
||||
// > always refers the explicitly declared column and cannot be
|
||||
// > used to retrieve the integer rowid value.
|
||||
//
|
||||
// Here we assume that _rowid_ is not a custom column.
|
||||
// TODO: support for user-defined _rowid_ column.
|
||||
// Here we assume that rowid is not a custom column.
|
||||
// TODO: support for user-defined rowid column.
|
||||
// TODO: support for WITHOUT ROWID tables.
|
||||
orderings = [Column("_rowid_").desc]
|
||||
orderings = [Column.rowID.desc]
|
||||
} else {
|
||||
orderings = orderings.map { $0.reversed }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user