Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: using has_selected_record() of Net::MySQL

by ranjan_jajodia (Monk)
on Aug 11, 2005 at 13:39 UTC ( [id://482955] : note . print w/replies, xml ) Need Help??


in reply to Re: using has_selected_record() of Net::MySQL
in thread using has_selected_record() of Net::MySQL

Hi,
get_affected_rows_length() will work only in case of 'update queries'. In 'select queries it will always return zero.
has_selected_record() returns true or false as written in the specifications at CPAN.

Thanks for the effor though :-),
Ranjan

--Let Logic Rule--
  • Comment on Re^2: using has_selected_record() of Net::MySQL