Document that using %, (, ) in the placeholder name is not supported

This commit is contained in:
Daniele Varrazzo 2013-10-16 15:36:43 +01:00
parent 1e623a951c
commit a0a63e3ac7

View File

@ -100,7 +100,8 @@ many placeholders can use the same values::
... {'int': 10, 'str': "O'Reilly", 'date': datetime.date(2005, 11, 18)}) ... {'int': 10, 'str': "O'Reilly", 'date': datetime.date(2005, 11, 18)})
When parameters are used, in order to include a literal ``%`` in the query you When parameters are used, in order to include a literal ``%`` in the query you
can use the ``%%`` string. can use the ``%%`` string. Using characters ``%``, ``(``, ``)`` in the
argument names is not supported.
While the mechanism resembles regular Python strings manipulation, there are a While the mechanism resembles regular Python strings manipulation, there are a
few subtle differences you should care about when passing parameters to a few subtle differences you should care about when passing parameters to a