Welcome to the Monastery | |
PerlMonks |
Re: SQLite: how to get a number of rows from SELECT queryby Corion (Patriarch) |
on Jul 20, 2021 at 06:00 UTC ( [id://11135193]=note: print w/replies, xml ) | Need Help?? |
The DBI documentation states in ->execute for SELECT statements: The execute method does not return the number of rows that will be returned by the query So you will have to run a second query to fetch the number of returned rows, or fetch all rows to get their number.
In Section
Seekers of Perl Wisdom
|
|