1. Jeffrey Tratner
  2. sqlalchemy

Commits

Mike Bayer  committed 358c50c

fix typo [ticket:2334]

  • Participants
  • Parent commits 678b311
  • Branches rel_0_6

Comments (0)

Files changed (1)

File doc/build/core/tutorial.rst

View file
  • Ignore whitespace
 the names of the table's columns are reserved for the "automatic" generation
 of bind names::
 
-    users.insert().values(id=bindparam('_id'), name=bindaparam('_name'))
+    users.insert().values(id=bindparam('_id'), name=bindparam('_name'))
 
     # insert many rows at once:
     conn.execute(
-        users.insert().values(id=bindparam('_id'), name=bindaparam('_name')),
+        users.insert().values(id=bindparam('_id'), name=bindparam('_name')),
         [
             {'_id':1, '_name':'name1'},
             {'_id':2, '_name':'name2'},