MySQL Forums
Forum List  »  MySQL Workbench

Re: problem solution
Posted by: René Tobner
Date: March 12, 2013 04:09PM

Hey for anyone interested here the solution,

simply do not use the parentheses behind "rowCount"

print res.rowCount # should work

it seems this behaviour is because of its type being "const"

http://mysqlworkbench.org/workbench/doc/globals/classdb__query___resultset.html#a066747fd07b250d0f282859432464f9a

the other ones like "nextRow" work with parentheses...

Options: ReplyQuote


Subject
Views
Written By
Posted
1209
March 11, 2013 01:51PM
866
March 12, 2013 06:01AM
Re: problem solution
614
March 12, 2013 04:09PM
572
March 25, 2013 02:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.