Re: Minor issue

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Frank Millman
Дата:
Сообщение: Minor issue
Следующее
От: Frank Millman
Дата:
Сообщение: Re: Minor issue