From c7d8d1fabbfc5d70698a2a386d2c23f127a46eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 12 Jul 2015 13:25:33 +0200 Subject: [PATCH] Documentation WIP --- GRDB/RowModel.swift | 2 +- RELEASE_NOTES.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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