then you can run this query afterward to get the count without actually accessing the tables again:SELECT SQL_CALC_FOUND_ROWS value FROM table WHERE distinguishing_value + = ?
This is documented here.SELECT FOUND_ROWS()
In reply to Re: Perl and MySQL: Get number of rows affected
by perrin
in thread Perl and MySQL: Get number of rows affected
by Spidy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |