Skip to content

Commit 6629358

Browse files
authored
Merge pull request #207 from magnamatt/patch-1
Added autocommit key word argument to create_pool
2 parents e1d3662 + 748a1d2 commit 6629358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pool.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The basic usage is::
1818
def go()
1919
pool = yield from aiomysql.create_pool(host='127.0.0.1', port=3306,
2020
user='root', password='',
21-
db='mysql', loop=loop)
21+
db='mysql', loop=loop, autocommit=False)
2222

2323
with (yield from pool) as conn:
2424
cur = yield from conn.cursor()

0 commit comments

Comments
 (0)