[sqlalchemy] is None converted to null using engine.execute?

2011-10-24 Thread Krishnakant Mane
Hello all. I have come across an interesting problem with sqlalchemy. I am using 0.6.8 and plan to shift obviously to the .7 series. But what ever the version is, I find this is really very interesting. I have to execute stored procedures written in plpgsql (for postgresql 9.0). The problem

Re: [sqlalchemy] is None converted to null using engine.execute?

2011-10-24 Thread Michael Bayer
On Oct 23, 2011, at 2:11 PM, Krishnakant Mane wrote: I wish to know if None in Python really gets converted to null in postgresql? it is converted to NULL by psycopg2 if passed as a bound parameter to cursor.execute(). To understand what this means at a DBAPI level please read