Skip to content

Commit 6bf7456

Browse files
committed
Documentation fix
1 parent 7439043 commit 6bf7456

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 2.3.0-null-safety.0
44

55
- Migrate to null safety. (Thanks to [j4qfrost](https://github.com/j4qfrost), [#153](https://github.com/stablekernel/postgresql-dart/pull/153)).
6+
- Documentation fix (by [saward](https://github.com/saward)).
67

78
## 2.2.0
89

lib/src/connection.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class PostgreSQLConnection extends Object
204204
/// Queries within a transaction may be executed asynchronously or be awaited on. The order is still guaranteed. Example:
205205
///
206206
/// connection.transaction((ctx) {
207-
/// var rows = await ctx.query("SELECT id FROM t);
207+
/// var rows = await ctx.query("SELECT id FROM t");
208208
/// if (!rows.contains([2])) {
209209
/// ctx.query("INSERT INTO t (id) VALUES (2)");
210210
/// }

0 commit comments

Comments
 (0)