Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
prawn-cake committed Sep 19, 2015
1 parent ff52e54 commit e2e03bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ Result set index based access
Safe transactions
-----------------

All requests inside `with` context will be executed and automatically committed within one transaction
All requests inside `with` context will be executed and automatically committed within one transaction
(or rollbacked in case if database errors)

with self.pg_client.cursor as transaction:
transaction.execute('INSERT INTO users VALUES name="Mark"')
Expand Down

0 comments on commit e2e03bd

Please sign in to comment.