mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
Reduce internal coupling
This commit is contained in:
1 parent
c8023adff1
commit
dae4ae1c6b
36 files changed
+1798
-1625
No files matched your search
@@ -275,9 +275,9 @@ extension TableMapping {
|
||||
public static func all() -> QueryInterfaceRequest<Self> {
|
||||
let selection: [SQLSelectable]
|
||||
if selectsRowID {
|
||||
selection = [star, Column.rowID]
|
||||
selection = [SQLStar(), Column.rowID]
|
||||
} else {
|
||||
selection = [star]
|
||||
selection = [SQLStar()]
|
||||
}
|
||||
return QueryInterfaceRequest(query: QueryInterfaceSelectQueryDefinition(select: selection, from: .table(name: databaseTableName, alias: nil)))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user