Search for fetch

  1. Search 7.x for fetch
  2. Search 9.5.x for fetch
  3. Search 8.9.x for fetch
  4. Search 10.3.x for fetch
  5. Other projects
Title Object type File name Summary
StatementInterface::fetchAll function core/lib/Drupal/Core/Database/StatementInterface.php Returns an array containing all of the result set rows.
StatementInterface::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementInterface.php Returns the result set as an associative array keyed by the given field.
StatementInterface::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementInterface.php Returns the entire result set as a single associative array.
StatementInterface::fetchAssoc function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row and returns it as an associative array.
StatementInterface::fetchCol function core/lib/Drupal/Core/Database/StatementInterface.php Returns an entire single column of a result set as an indexed array.
StatementInterface::fetchField function core/lib/Drupal/Core/Database/StatementInterface.php Returns a single field from the next record of a result set.
StatementInterface::fetchObject function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row and returns it as an object.
StatementInterface::setFetchMode function core/lib/Drupal/Core/Database/StatementInterface.php Sets the default fetch mode for this statement.
StatementIteratorTrait::markResultsetFetchingComplete function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Informs the iterator that no more rows can be fetched from the resultset.
StatementPrefetchIterator class core/lib/Drupal/Core/Database/StatementPrefetchIterator.php An implementation of StatementInterface that prefetches all data.
StatementPrefetchIterator.php file core/lib/Drupal/Core/Database/StatementPrefetchIterator.php
StatementPrefetchIterator::$columnNames property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php The list of column names in this result set.
StatementPrefetchIterator::$data property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Main data store.
StatementPrefetchIterator::$defaultFetchStyle property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Holds the default fetch style.
StatementPrefetchIterator::$fetchOptions property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Holds fetch options.
StatementPrefetchIterator::$rowCount property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php The number of rows matched by the last query.
StatementPrefetchIterator::execute function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Executes a prepared statement.
StatementPrefetchIterator::fetch function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Fetches the next row from a result set.
StatementPrefetchIterator::fetchAll function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns an array containing all of the result set rows.
StatementPrefetchIterator::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns the result set as an associative array keyed by the given field.
StatementPrefetchIterator::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns the entire result set as a single associative array.
StatementPrefetchIterator::fetchAssoc function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Fetches the next row and returns it as an associative array.
StatementPrefetchIterator::fetchCol function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns an entire single column of a result set as an indexed array.
StatementPrefetchIterator::fetchColumn function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php
StatementPrefetchIterator::fetchField function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns a single field from the next record of a result set.
StatementPrefetchIterator::fetchObject function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Fetches the next row and returns it as an object.
StatementPrefetchIterator::getConnectionTarget function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns the target connection this statement is associated with.
StatementPrefetchIterator::getQueryString function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Gets the query string of this statement.
StatementPrefetchIterator::getStatement function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Grab a PDOStatement object from a given query and its arguments.
StatementPrefetchIterator::rowCount function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns the number of rows matched by the last SQL statement.
StatementPrefetchIterator::setFetchMode function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Sets the default fetch mode for this statement.
StatementPrefetchIterator::__construct function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Constructs a StatementPrefetchIterator object.
StatementTest::testIteratedStatementFetch function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetching after a full traversal.
StatementTest::testPartiallyIteratedStatementFetchAll function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAll after a partial traversal.
StatementTest::testPartiallyIteratedStatementFetchAllAssoc function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAllAssoc after a partial traversal.
StatementTest::testPartiallyIteratedStatementFetchAllKeyed function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAllKeyed after a partial traversal.
StatementTest::testPartiallyIteratedStatementFetchCol function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchCol after a partial traversal.
StatementWrapperIterator::fetch function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Fetches the next row from a result set.
StatementWrapperIterator::fetchAll function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns an array containing all of the result set rows.
StatementWrapperIterator::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the result set as an associative array keyed by the given field.
StatementWrapperIterator::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the entire result set as a single associative array.
StatementWrapperIterator::fetchAssoc function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Fetches the next row and returns it as an associative array.
StatementWrapperIterator::fetchCol function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns an entire single column of a result set as an indexed array.
StatementWrapperIterator::fetchField function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns a single field from the next record of a result set.
StatementWrapperIterator::fetchObject function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Fetches the next row and returns it as an object.
StatementWrapperIterator::setFetchMode function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Sets the default fetch mode for this statement.
StaticFileCacheBackend::fetch function core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php Fetches data from the cache backend.
StatisticsStorageInterface::fetchAll function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times an entity has been viewed.
StatisticsStorageInterface::fetchView function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times a single entity has been viewed.
StatisticsStorageInterface::fetchViews function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times entities have been viewed.

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