This commit is contained in:
Gwendal Roué committed 2016-11-26 10:23:41 +01:00
1 parent 173a60eac6
commit 612c963105
1 file changed
+2
@@ -32,6 +32,7 @@ extension QueryInterfaceRequest where T: RowConvertible {
/// TODO
public func fetchCursor(_ db: Database) throws -> DatabaseCursor<T> {
// TODO: test
return try T.fetchCursor(db, self)
}
@@ -490,6 +491,7 @@ extension RowConvertible where Self: TableMapping {
/// TODO
public static func fetchCursor(_ db: Database) throws -> DatabaseCursor<Self> {
// TODO: test
return try all().fetchCursor(db)
}