Re: Use of .mogrify

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: tobias(at)streethawk(dot)com, psycopg(at)postgresql(dot)org
Subject: Re: Use of .mogrify
Date: 2014-04-03 00:08:54
Message-ID: 533CA696.9000001@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(dot)klaver(at)aklaver(dot)com

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2014-04-03 01:55:13 Re: Use of .mogrify
Previous Message Tobias Fielitz 2014-04-03 00:00:09 Use of .mogrify