README.md

This commit is contained in:
Gwendal Roué committed 2016-01-16 10:46:02 +01:00
1 parent 1d63993604
commit b67797879f
1 file changed
+1 -1
+1 -1
View File
@@ -899,7 +899,7 @@ A ROLLBACK statement is issued if an error is thrown within the transaction bloc
Otherwise, transactions are guaranteed to succeed, *provided there is a single DatabaseQueue connected to the database file*. See [Concurrency](#concurrency) for more information about concurrent database access.
If you want to insert a transaction between other database statements, and group those in a single block of code protected by the the database queue, you can use the Database.inTransaction() function:
If you want to insert a transaction between other database statements, and group those in a single block of code protected by the database queue, you can use the Database.inTransaction() function:
```swift
try dbQueue.inDatabase { db in