Re: Use of .mogrify - Mailing list psycopg

From Adrian Klaver
Subject Re: Use of .mogrify
Date
Msg-id 533CA696.9000001@aklaver.com
Whole thread Raw
In response to Use of .mogrify  (Tobias Fielitz <tobias@streethawk.com>)
List psycopg
On 04/02/2014 05:00 PM, Tobias Fielitz wrote:
> Hi All,
>
> I just stumbled across this conversation:
> http://permalink.gmane.org/gmane.comp.python.db.psycopg.devel/4775
>
> Is .mogrify still just for debugging usage?
>
> I have a query generated by Django's ORM that I would like to execute as
> plain SQL (because I will wrap some SQL around it).

Any reason you cannot just put it into execute()?

>
> Cheers,
> Tobias
>
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


psycopg by date:

Previous
From: Tobias Fielitz
Date:
Subject: Use of .mogrify
Next
From: Daniele Varrazzo
Date:
Subject: Re: Use of .mogrify