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 11.x for fetch
  5. Other projects
Title Object type File name Summary
StatementPrefetch::next function core/lib/Drupal/Core/Database/StatementPrefetch.php
StatementPrefetch::rewind function core/lib/Drupal/Core/Database/StatementPrefetch.php
StatementPrefetch::rowCount function core/lib/Drupal/Core/Database/StatementPrefetch.php Returns the number of rows matched by the last SQL statement.
StatementPrefetch::setFetchMode function core/lib/Drupal/Core/Database/StatementPrefetch.php Sets the default fetch mode for this statement.
StatementPrefetch::throwPDOException function core/lib/Drupal/Core/Database/StatementPrefetch.php Throw a PDO Exception based on the last PDO error.
StatementPrefetch::valid function core/lib/Drupal/Core/Database/StatementPrefetch.php
StatementPrefetch::__construct function core/lib/Drupal/Core/Database/StatementPrefetch.php Constructs a StatementPrefetch object.
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::throwPDOException function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Throw a PDO Exception based on the last PDO error.
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.
StatementWrapper::fetch function core/lib/Drupal/Core/Database/StatementWrapper.php Fetches the next row from a result set.
StatementWrapper::fetchAll function core/lib/Drupal/Core/Database/StatementWrapper.php Returns an array containing all of the result set rows.
StatementWrapper::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementWrapper.php Returns the result set as an associative array keyed by the given field.
StatementWrapper::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementWrapper.php Returns the entire result set as a single associative array.
StatementWrapper::fetchAssoc function core/lib/Drupal/Core/Database/StatementWrapper.php Fetches the next row and returns it as an associative array.
StatementWrapper::fetchCol function core/lib/Drupal/Core/Database/StatementWrapper.php Returns an entire single column of a result set as an indexed array.
StatementWrapper::fetchField function core/lib/Drupal/Core/Database/StatementWrapper.php Returns a single field from the next record of a result set.
StatementWrapper::fetchObject function core/lib/Drupal/Core/Database/StatementWrapper.php Fetches the next row and returns it as an object.
StatementWrapper::setFetchMode function core/lib/Drupal/Core/Database/StatementWrapper.php Sets the default fetch mode for this statement.
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.

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