Closed mruz closed 4 years ago
We use rowCount() in the Pdo::findOne(), but https://www.php.net/manual/en/pdostatement.rowcount.php says:
rowCount()
This method returns "0" (zero) with the SQLite driver at all times, and with the PostgreSQL driver only when setting the PDO::ATTR_CURSOR statement attribute to PDO::CURSOR_SCROLL.
We use
rowCount()
in the Pdo::findOne(), but https://www.php.net/manual/en/pdostatement.rowcount.php says: