| От | Rory Campbell-Lange |
|---|---|
| Тема | Re: Minor issue |
| Дата | |
| Msg-id | 20200526114541.GA21741@campbell-lange.net обсуждение |
| Ответ на | Minor issue (Frank Millman <frank@chagford.com>) |
| Ответы |
Re: Minor issue
|
| Список | psycopg |
On 26/05/20, Frank Millman (frank@chagford.com) wrote:
> I have a function that returns a complex SQL query and a tuple of
> parameters. The query is stored inside the function as a triple-quoted
> string, and the parameters are derived depending on the input arguments.
>
> Sometimes while testing I will comment out some of the SQL using '--'. If
> those lines happen to contain a parameter placeholder ('%s') I expected to
> remove the parameter from the tuple as well.
Could you provide an example?
В списке psycopg по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера