mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Typo
This commit is contained in:
1 parent
02927106ca
commit
cc136922e5
1 file changed
+1
-1
@@ -1309,7 +1309,7 @@ If an error is thrown within the transaction body, the transaction is rollbacked
|
||||
If you want to insert a transaction between other database statements, you can use the Database.inTransaction() function, or even raw SQL statements:
|
||||
|
||||
```swift
|
||||
dbPool.writeWithoutTransaction { db in // or dbQueue.inDatabase { ... }
|
||||
try dbPool.writeWithoutTransaction { db in // or dbQueue.inDatabase { ... }
|
||||
try db.inTransaction {
|
||||
...
|
||||
return .commit
|
||||
|
||||
Reference in new issue
Block a user