![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
SQLite: how to get a number of rows from SELECT queryby igoryonya (Pilgrim) |
on Jul 20, 2021 at 03:44 UTC ( #11135188=perlquestion: print w/replies, xml ) | Need Help?? |
igoryonya has asked for the wisdom of the Perl Monks concerning the following question:
I used to do something like this on MySQL:
and it returned a number of rows, found by SELECT, but, no matter, what SELECT variation I use with SQLite, even when it returns the actual row data with $sth->fetchrow_hashref(), it always returns 0 (zero). Is there a way to determine the number of rows, found by select, if not with $sth->rows?
Back to
Seekers of Perl Wisdom
|
|