mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
FetchRequest documentation
This commit is contained in:
1 parent
5fe7c5d888
commit
02a21b8050
1 file changed
+3
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user