Skip to content

Commit

Permalink
Use params in README
Browse files Browse the repository at this point in the history
  • Loading branch information
baztian committed Jun 16, 2020
1 parent 8ffe6bd commit ca9e1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -99,7 +99,7 @@ Here is an example:
... ' "NAME" VARCHAR(50) not null,'
... ' primary key ("CUST_ID"))'
... )
>>> curs.execute("insert into CUSTOMER values (1, 'John')")
>>> curs.execute("insert into CUSTOMER values (?, ?)", (1, 'John'))
>>> curs.execute("select * from CUSTOMER")
>>> curs.fetchall()
[(1, u'John')]
Expand Down

0 comments on commit ca9e1dc

Please sign in to comment.