Merge pull request #590 from pinchsp/master

Fixed small error in SQLAlchemy patterns documentation
This commit is contained in:
Armin Ronacher 2012-10-07 03:56:35 -07:00
commit b2cf9e7212

View file

@ -189,7 +189,7 @@ To insert data you can use the `insert` method. We have to get a
connection first so that we can use a transaction: connection first so that we can use a transaction:
>>> con = engine.connect() >>> con = engine.connect()
>>> con.execute(users.insert(name='admin', email='admin@localhost')) >>> con.execute(users.insert(), name='admin', email='admin@localhost')
SQLAlchemy will automatically commit for us. SQLAlchemy will automatically commit for us.