Query\AbstractDriver::num_rows
Return the number of rows returned for a SELECT query
Signature
public function num_rows()
Returns
- int
Defined by Interface
DriverInterface
Test Coverage
Information
- Coverage: 7/7 Lines (100%)
- Tests: 12
- Passed: 12 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testGetWNumRows
- [ PASSED ] — MySQLQBTest::testNumRows
- [ PASSED ] — MySQLQBTest::testBadNumRows
- [ PASSED ] — PgSQLQBTest::testGetWNumRows
- [ PASSED ] — PgSQLQBTest::testNumRows
- [ PASSED ] — PgSQLQBTest::testBadNumRows
- [ PASSED ] — SQLiteQBTest::testGetWNumRows
- [ PASSED ] — SQLiteQBTest::testNumRows
- [ PASSED ] — SQLiteQBTest::testBadNumRows
- [ PASSED ] — FirebirdQBTest::testGetWNumRows
- [ PASSED ] — FirebirdQBTest::testNumRows
- [ PASSED ] — FirebirdQBTest::testBadNumRows