Browse files

Added %% use to the docs

  • Loading branch information...
1 parent e8fb843 commit 08c8b62e1ba982bad39391b4f9b092266f986b14 @dvarrazzo committed May 29, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 doc/src/usage.rst
@@ -97,6 +97,9 @@ many placeholders can use the same values::
... VALUES (%(int)s, %(date)s, %(date)s, %(str)s);""",
... {'int': 10, 'str': "O'Reilly", 'date':, 11, 18)})
+When parameters are used, in order to include a literal ``%`` in the query you
+can use the ``%%`` string.
While the mechanism resembles regular Python strings manipulation, there are a
few subtle differences you should care about when passing parameters to a

0 comments on commit 08c8b62

Please sign in to comment.