README.md

This commit is contained in:
Gwendal Roué committed 2016-05-01 19:20:07 +02:00
1 parent 2d0cd5d186
commit 37ce59af6e
1 file changed
+1 -1
+1 -1
View File
@@ -1541,7 +1541,7 @@ pointOfInterest.exists(db) // Bool
It performs an UPDATE if the record has a non-null primary key, and then, if no row was modified, an INSERT. It directly perfoms an INSERT if the record has no primary key, or a null primary key.
Despite the fact that it may execute two SQL statements, `save` behaves as an atomic operation, because GRDB serialize all database writes (see [concurrency](#concurrency)).
Despite the fact that it may execute two SQL statements, `save` behaves as an atomic operation, because GRDB serializes all database writes, and won't allow any concurrent thread to alter the database state (see [concurrency](#concurrency)).
- `delete` returns whether a database row was deleted or not.