Search for fetch

  1. Search 7.x for fetch
  2. Search 9.5.x for fetch
  3. Search 10.3.x for fetch
  4. Search 11.x for fetch
  5. Other projects
Title Object type File name Summary
StatementEmpty::setFetchMode function core/lib/Drupal/Core/Database/StatementEmpty.php Sets the default fetch mode for this statement.
StatementInterface::fetch function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row from a result set.
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.
StatementPrefetch class core/lib/Drupal/Core/Database/StatementPrefetch.php An implementation of StatementInterface that prefetches all data.
StatementPrefetch.php file core/lib/Drupal/Core/Database/StatementPrefetch.php
StatementPrefetch::$allowRowCount property core/lib/Drupal/Core/Database/StatementPrefetch.php Is rowCount() execution allowed.
StatementPrefetch::$columnNames property core/lib/Drupal/Core/Database/StatementPrefetch.php The list of column names in this result set.
StatementPrefetch::$currentKey property core/lib/Drupal/Core/Database/StatementPrefetch.php The key of the current row.
StatementPrefetch::$currentRow property core/lib/Drupal/Core/Database/StatementPrefetch.php The current row, retrieved in \PDO::FETCH_ASSOC format.
StatementPrefetch::$data property core/lib/Drupal/Core/Database/StatementPrefetch.php Main data store.
StatementPrefetch::$dbh property core/lib/Drupal/Core/Database/StatementPrefetch.php Reference to the Drupal database connection object for this statement.
StatementPrefetch::$defaultFetchOptions property core/lib/Drupal/Core/Database/StatementPrefetch.php Holds supplementary default fetch options.
StatementPrefetch::$defaultFetchStyle property core/lib/Drupal/Core/Database/StatementPrefetch.php Holds the default fetch style.
StatementPrefetch::$driverOptions property core/lib/Drupal/Core/Database/StatementPrefetch.php Driver-specific options. Can be used by child classes.
StatementPrefetch::$fetchOptions property core/lib/Drupal/Core/Database/StatementPrefetch.php Holds supplementary current fetch options (which will be used by the next fetch).
StatementPrefetch::$fetchStyle property core/lib/Drupal/Core/Database/StatementPrefetch.php Holds the current fetch style (which will be used by the next fetch).
StatementPrefetch::$pdoConnection property core/lib/Drupal/Core/Database/StatementPrefetch.php Reference to the PDO connection object for this statement.
StatementPrefetch::$queryString property core/lib/Drupal/Core/Database/StatementPrefetch.php The query string.
StatementPrefetch::$resultRowCount property core/lib/Drupal/Core/Database/StatementPrefetch.php The number of rows in this result set.
StatementPrefetch::$rowCount property core/lib/Drupal/Core/Database/StatementPrefetch.php The number of rows affected by the last query.
StatementPrefetch::current function core/lib/Drupal/Core/Database/StatementPrefetch.php Return the current row formatted according to the current fetch style.
StatementPrefetch::execute function core/lib/Drupal/Core/Database/StatementPrefetch.php Executes a prepared statement
StatementPrefetch::fetch function core/lib/Drupal/Core/Database/StatementPrefetch.php Fetches the next row from a result set.
StatementPrefetch::fetchAll function core/lib/Drupal/Core/Database/StatementPrefetch.php Returns an array containing all of the result set rows.
StatementPrefetch::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementPrefetch.php Returns the result set as an associative array keyed by the given field.
StatementPrefetch::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementPrefetch.php Returns the entire result set as a single associative array.
StatementPrefetch::fetchAssoc function core/lib/Drupal/Core/Database/StatementPrefetch.php Fetches the next row and returns it as an associative array.
StatementPrefetch::fetchCol function core/lib/Drupal/Core/Database/StatementPrefetch.php Returns an entire single column of a result set as an indexed array.
StatementPrefetch::fetchColumn function core/lib/Drupal/Core/Database/StatementPrefetch.php
StatementPrefetch::fetchField function core/lib/Drupal/Core/Database/StatementPrefetch.php Returns a single field from the next record of a result set.
StatementPrefetch::fetchObject function core/lib/Drupal/Core/Database/StatementPrefetch.php Fetches the next row and returns it as an object.
StatementPrefetch::getQueryString function core/lib/Drupal/Core/Database/StatementPrefetch.php Gets the query string of this statement.
StatementPrefetch::getStatement function core/lib/Drupal/Core/Database/StatementPrefetch.php Grab a PDOStatement object from a given query and its arguments.
StatementPrefetch::key function core/lib/Drupal/Core/Database/StatementPrefetch.php
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 affected 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
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 a entity has been viewed.

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