[PDO-Users]pdo/pgdb insert

pythondbo-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Tue, 20 Jan 2004 14:16:07 +0200
Newsgroups gmane.comp.python.db.pdo.user
Message-ID <[email protected]>
Hi,

I'm sitting with a problem where I can select but not
insert/update to a postgresql database using pdo. Here is
the statement:
result=self.dbConnection.execute("insert into users values
('B', 'B')")
It doesn't raise an exception and if I check
result.affected_rows it is 'None'
If I execute the statement on the psql command line it
works fine and inserts..

Thanks for the help...
Eugene

___________________________________________
 Look Good, Feel Good www.healthiest.co.za



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn