Search for rowCount

  1. Search 7.x for rowCount
  2. Search 9.5.x for rowCount
  3. Search 8.9.x for rowCount
  4. Search 10.3.x for rowCount
  5. Other projects
Title Object type File name Summary
FetchTest::testRowCount function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests that rowCount() throws exception on SELECT query.
OptionsFieldUIAllowedValuesTest::assertAllowValuesRowCount function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Assert the count of the allowed values rows.
RowCountException class core/lib/Drupal/Core/Database/RowCountException.php Exception thrown if a SELECT query trying to execute rowCount() on result.
RowCountException.php file core/lib/Drupal/Core/Database/RowCountException.php
RowCountException::__construct function core/lib/Drupal/Core/Database/RowCountException.php
RowCountExceptionTest class core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php @coversDefaultClass \Drupal\Core\Database\RowCountException
RowCountExceptionTest.php file core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php
RowCountExceptionTest::DEFAULT_EXCEPTION_MESSAGE constant core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php The default exception message.
RowCountExceptionTest::providerTestExceptionMessage function core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php Data provider for ::testExceptionMessage()
RowCountExceptionTest::testExceptionMessage function core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php @covers ::__construct
@dataProvider providerTestExceptionMessage
RowCountExceptionTest::testExceptionMessageNull function core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php @covers ::__construct
@group legacy
SelectComplexTest::testSelectWithRowCount function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that rowCount() throws exception on SELECT query.
StatementInterface::rowCount function core/lib/Drupal/Core/Database/StatementInterface.php Returns the number of rows matched by the last SQL statement.
StatementPrefetchIterator::$rowCount property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php The number of rows matched by the last query.
StatementPrefetchIterator::rowCount function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns the number of rows matched by the last SQL statement.
StatementWrapperIterator::rowCount function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the number of rows matched by the last SQL statement.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.