mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 10:53:44 +03:00
Document that using %, (, ) in the placeholder name is not supported
This commit is contained in:
parent
1e623a951c
commit
a0a63e3ac7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user