[Zope] Can i know the number of rows affected in a update?
Dieter Maurer
dieter at handshake.de
Thu Apr 1 14:52:35 EST 2004
Bruno Silva wrote at 2004-4-1 10:30 +0100:
>I have postgresql, with psycopg, and when i call a ZSQL method with an
>update, i want to now the number of rows affected, or at least if one is
>affected.
>The object returned by ZSQL method is DC.ZRDB.Results.Results, and it
>seems to me it doesn't have that information.
That is strange. Usually, you do not get a "Results" object
for an "update".
Z SQL Methods are not designed to provide the rowcount information.
You would need to enhance this product...
--
Dieter
More information about the Zope
mailing list