diff --git a/GRDB/RowModel.swift b/GRDB/RowModel.swift index 187930f60..22ccb364e 100644 --- a/GRDB/RowModel.swift +++ b/GRDB/RowModel.swift @@ -248,7 +248,7 @@ public class RowModel { } /** - Stores the row model in the database. + Saves the row model in the database. If the row model has a non-nil primary key and a matching row in the database, this method performs an update. diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index cc16861f3..c1325e890 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,13 @@ Release Notes ============= +## Future release + +**Breaking changes** + +- `RowModel.save(db)` inserts a row when there is no matching row in the database. It used to throw RowModelNotFound. + + ## v0.3.0 Released July 11, 2015