Update FetchRequest protocol in README

This commit is contained in:
Alex Robinson committed 2019-04-11 13:27:32 +10:00
1 parent dd139b6268
commit 207b90f1b5
1 file changed
+1 -1
+1 -1
View File
@@ -4612,7 +4612,7 @@ protocol FetchRequest: DatabaseRegionConvertible {
associatedtype RowDecoder
/// A tuple that contains a prepared statement, and an eventual row adapter.
func prepare(_ db: Database) throws -> (SelectStatement, RowAdapter?)
func prepare(_ db: Database, hint: FetchRequestHint?) throws -> (SelectStatement, RowAdapter?)
/// The number of rows fetched by the request.
func fetchCount(_ db: Database) throws -> Int