RowAdapter documentation

This commit is contained in:
Gwendal Roué committed 2016-05-21 08:26:39 +02:00
1 parent b51b02b1d3
commit 92682cb11f
1 file changed
+1 -1
+1 -1
View File
@@ -1257,7 +1257,7 @@ for row in Row.fetch(db, sql, adapter: adapter) {
The last SQL and adapter can be very useful with [RowConvertible](#rowconvertible-protocol) types. For example:
```swift
for book in Book.fetch(sql, adapter: adapter) {
for book in Book.fetch(db, sql, adapter: adapter) {
book.title // Moby-Dick
book.author!.name // Melville
}