Reduce internal coupling

This commit is contained in:
Gwendal Roué committed 2017-04-22 11:12:43 +02:00
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)))
}