Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#18 rowcount not implemented

open
nobody
None
5
2002-10-11
2002-10-11
Andy Todd
No

The read only attribute rowcount has not been
implemented for cursor objects. This causes problems
when using the common idiom of updating a row and if
that affects no rows inserting a new one. I would
rather not have to issue a select before each DML
operation to find out if I need to insert or update.

Of course, if there is another way of doing this I
would be only too happy to hear it.

Regards,
Andy

Discussion