mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-15 05:26:37 +03:00
spelling fix
This commit is contained in:
parent
c79953656e
commit
9477cd1505
|
@ -73,7 +73,7 @@ Why does `!cursor.execute()` raise the exception *can't adapt*?
|
||||||
|
|
||||||
I can't pass an integer or a float parameter to my query: it says *a number is required*, but *it is* a number!
|
I can't pass an integer or a float parameter to my query: it says *a number is required*, but *it is* a number!
|
||||||
In your query string, you always have to use ``%s`` placeholders,
|
In your query string, you always have to use ``%s`` placeholders,
|
||||||
event when passing a number. All Python objects are converted by Psycopg
|
even when passing a number. All Python objects are converted by Psycopg
|
||||||
in their SQL representation, so they get passed to the query as strings.
|
in their SQL representation, so they get passed to the query as strings.
|
||||||
See :ref:`query-parameters`. ::
|
See :ref:`query-parameters`. ::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user