Can i know the number of rows affected in a update?
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. --Bruno
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
participants (2)
-
Bruno Silva -
Dieter Maurer