Use FetchRequest instead of QueryInterfaceRequest where relevant

This commit is contained in:
Gwendal Roué committed 2016-05-19 13:35:45 +02:00
1 parent 28a795eddb
commit 5fac4abc07
10 files changed
+125 -136

No files matched your search

@@ -5,6 +5,8 @@ public struct QueryInterfaceRequest<T> {
let query: _SQLSelectQuery
/// Initializes a QueryInterfaceRequest based on table *tableName*.
///
/// It represents the SQL query `SELECT * FROM tableName`.
public init(tableName: String) {
self.init(query: _SQLSelectQuery(select: [_SQLResultColumn.Star(nil)], from: .Table(name: tableName, alias: nil)))
}