Re: [cx-oracle-users] rows modified returned after execute call
Brought to you by:
atuining
From: Frank v. L. <fvl...@ca...> - 2006-11-29 01:48:44
|
I found the answer while looking at the db api spec, it is curs.rowcount. Frank. Frank van Lingen wrote: > The Python MySQL cursor object returns the number of rows modified when > the execute method is called. Does cx_oracle have something comparable > (it seems not to return anything when doing an curs.execute("....")? > > The Python db API does not require anything to be returned from the > execute method, but I like the feature. I mainly use it to see if > something was modified rather than actual looking at how many rows where > modified. > > Frank. -- -------------------------------------- Frank van Lingen California Institute of Technology CA 91125 Pasadena United States -------------------------------------- Mail Code:356-48 bld :340 Lauritsen email :fvl...@ca... im(aim) :marcellus0872 tel :(+1) 626 395 3862 url :http://www.vanlingen.name/ -------------------------------------- |