Introduce RowModel with a quick look at the RowModel API

This commit is contained in:
Gwendal Roué committed 2015-09-04 20:34:42 +02:00
1 parent ee7c7c80f9
commit 44d766e13e
1 file changed
+9
+9
View File
@@ -818,6 +818,15 @@ Person.fetchAll(statement, arguments: ...) // [Person]
Person.fetchOne(statement, arguments: ...) // Person?
```
RowModel track changes:
```swift
if person.edited {
try person.save(db)
}
```
- [Core Methods](#core-methods)
- [Fetching Row Models](#fetching-row-models)
- [Ad Hoc Subclasses](#ad-hoc-subclasses)