Skip to content

Commit

Permalink
Merge pull request #1048 from andyzhshg/master
Browse files Browse the repository at this point in the history
typo fix of the doc
  • Loading branch information
alextekartik authored Sep 20, 2023
2 parents 6e7e461 + dc634cb commit 680ce60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqflite/doc/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ await db.transaction((txn) async {
});
```

* Make sure to sure the inner transaction object - `txn` in the code above - is used in a transaction (using the `db` object itself will cause a deadlock),
* Make sure to use the inner transaction object - `txn` in the code above - is used in a transaction (using the `db` object itself will cause a deadlock),
* You can throw an error during a transaction to cancel a transaction,
* When an error is thrown during a transaction, the action is cancelled right away and previous commands in the transaction are reverted,
* No other concurrent modification on the database (even from an outside process) can happen during a transaction,
Expand Down

0 comments on commit 680ce60

Please sign in to comment.