CHANGELOG.md

This commit is contained in:
Gwendal Roué committed 2016-01-09 10:35:52 +01:00
1 parent 99b2946dbb
commit 9454d35d4e
1 file changed
+6 -4
+6 -4
View File
@@ -5,17 +5,19 @@ Release Notes
Released January 8, 2016
**Breaking Changes**
**New**
- `Statement.arguments` is no longer optional.
- `Record.update()` and `DatabasePersistable.update()` can execute partial updates:
```swift
try person.update(db) // Full update
try person.update(db, columns: ["age"]) // Only updates the age column
```
Your types must update their `update` signature as below:
**Breaking Changes**
- `Statement.arguments` is no longer optional.
- Your Record subclasses and DatabasePersistable types must update their `update` signature as below:
```swift
func update(db: Database, columns: [String]? = nil) throws