mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
#147: tests for QueryInterfaceRequest.fetchCursor(_:) and (RowConvertible & TableMapping).fetchCursor(_:)
This commit is contained in:
1 parent
1aeb6d0d9e
commit
a548212f27
3 files changed
+14
-2
No files matched your search
@@ -32,7 +32,6 @@ extension QueryInterfaceRequest where T: RowConvertible {
|
||||
|
||||
/// TODO
|
||||
public func fetchCursor(_ db: Database) throws -> DatabaseCursor<T> {
|
||||
// TODO: test
|
||||
return try T.fetchCursor(db, self)
|
||||
}
|
||||
|
||||
@@ -491,7 +490,6 @@ extension RowConvertible where Self: TableMapping {
|
||||
|
||||
/// TODO
|
||||
public static func fetchCursor(_ db: Database) throws -> DatabaseCursor<Self> {
|
||||
// TODO: test
|
||||
return try all().fetchCursor(db)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user