in reply to SQLite: how to get a number of rows from SELECT query
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SQLite: how to get a number of rows from SELECT query
by igoryonya (Pilgrim) on Jul 20, 2021 at 07:33 UTC | |
by Fletch (Bishop) on Jul 20, 2021 at 13:28 UTC |