mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
README.md
This commit is contained in:
1 parent
ca98412dec
commit
2f66dbfe8a
1 file changed
+2
@@ -1582,6 +1582,8 @@ try person.insert(db)
|
||||
person.id // some value
|
||||
```
|
||||
|
||||
The `storedDatabaseDictionary` property returns a dictionary whose keys are column names, and values any DatabaseValueConvertible value (Bool, Int, String, NSDate, Swift enums, etc.) See Values for more information.
|
||||
|
||||
> :point_up: **Note**: Classes should always prefer adopting `DatabasePersistable` over `MutableDatabasePersistable`, even if they mutate themselves in `didInsertWithRowID(:forColumn:)`. They'll avoid strange compiler errors when they insert an instance stored in a `let` variable (see [SR-142](https://bugs.swift.org/browse/SR-142)).
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user