mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Introduce RowModel with a quick look at the RowModel API
This commit is contained in:
1 parent
ee7c7c80f9
commit
44d766e13e
1 file changed
+9
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user