FetchRequest documentation

This commit is contained in:
Gwendal Roué committed 2016-05-22 20:18:49 +02:00
1 parent 5fe7c5d888
commit 02a21b8050
1 file changed
+3 -2
+3 -2
View File
@@ -1,7 +1,8 @@
/// The protocol for all types that define a way to fetch values from
/// the database.
/// a database.
///
/// See https://github.com/groue/GRDB.swift#the-query-interface
/// It is adopted by QueryInterfaceRequest. Your own custom types can adopt it
/// as well, and define a way to fetch values, rows, and records.
public protocol FetchRequest {
/// A prepared statement that is ready to be executed.
func selectStatement(db: Database) throws -> SelectStatement