Skip to content

Commit d944cba

Browse files
committed
fix #511, typo in doc
1 parent c3ba033 commit d944cba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/transaction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Manual Control
102102
Other than using ``async with``, you can also manually control the
103103
transaction::
104104

105-
tx = await db.transaction()
105+
tx = await connection.transaction()
106106
try:
107107
await db.status('INSERT INTO mytable VALUES(1, 2, 3)')
108108
await tx.commit()

0 commit comments

Comments
 (0)