Re: disable object adaptation
Federico Di Gregorio <fog-NGVKUo/i/[email protected]> Sat, 13 Mar 2010 17:24:19 +0100
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On 13/03/2010 14:38, Manlio Perillo wrote: > Hi. > > Is it possible to completely disable object adaptation in psycopg2? No, because you have no way to send data to the database then. In fact if you really want, just do your own query building and quoting and call execute() without parameters. That will completely skip object adaptation. federico -- Federico Di Gregorio fog-NGVKUo/i/[email protected] Non vi sono certezze, solo opportunità . -- V _______________________________________________ Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/psycopg
signature.asc
(application/pgp-signature, 262 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkubvDsACgkQvcCgrgZGjet29wCePe+Y/MrOwinHAqlVx0V3Chua F4AAn1FSA5xlQgzj0xYCZ4PzHcMWmUvk =5bmf -----END PGP SIGNATURE-----