Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
Statement::getQueryString function core/lib/Drupal/Core/Database/Statement.php Gets the query string of this statement.
Statement::getStatement function core/modules/sqlite/src/Driver/Database/sqlite/Statement.php The PDO SQLite layer doesn't replace numeric placeholders in queries
correctly, and this makes numeric expressions (such as COUNT(*) >= :count)
fail. We replace numeric placeholders in the query ourselves to work
around this bug.
Statement::rowCount function core/lib/Drupal/Core/Database/Statement.php Returns the number of rows matched by the last SQL statement.
Statement::setFetchMode function core/lib/Drupal/Core/Database/Statement.php Sets the default fetch mode for this statement.
Statement::__construct function core/lib/Drupal/Core/Database/Statement.php
StatementEmpty class core/lib/Drupal/Core/Database/StatementEmpty.php Empty implementation of a database statement.
StatementEmpty.php file core/lib/Drupal/Core/Database/StatementEmpty.php
StatementEmpty::$allowRowCount property core/lib/Drupal/Core/Database/StatementEmpty.php Is rowCount() execution allowed.
StatementEmpty::current function core/lib/Drupal/Core/Database/StatementEmpty.php
StatementEmpty::execute function core/lib/Drupal/Core/Database/StatementEmpty.php Executes a prepared statement.
StatementEmpty::fetch function core/lib/Drupal/Core/Database/StatementEmpty.php Fetches the next row from a result set.
StatementEmpty::fetchAll function core/lib/Drupal/Core/Database/StatementEmpty.php Returns an array containing all of the result set rows.
StatementEmpty::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementEmpty.php Returns the result set as an associative array keyed by the given field.
StatementEmpty::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementEmpty.php Returns the entire result set as a single associative array.
StatementEmpty::fetchAssoc function core/lib/Drupal/Core/Database/StatementEmpty.php Fetches the next row and returns it as an associative array.
StatementEmpty::fetchCol function core/lib/Drupal/Core/Database/StatementEmpty.php Returns an entire single column of a result set as an indexed array.
StatementEmpty::fetchField function core/lib/Drupal/Core/Database/StatementEmpty.php Returns a single field from the next record of a result set.
StatementEmpty::fetchObject function core/lib/Drupal/Core/Database/StatementEmpty.php Fetches the next row and returns it as an object.
StatementEmpty::getQueryString function core/lib/Drupal/Core/Database/StatementEmpty.php Gets the query string of this statement.
StatementEmpty::key function core/lib/Drupal/Core/Database/StatementEmpty.php
StatementEmpty::next function core/lib/Drupal/Core/Database/StatementEmpty.php
StatementEmpty::rewind function core/lib/Drupal/Core/Database/StatementEmpty.php
StatementEmpty::rowCount function core/lib/Drupal/Core/Database/StatementEmpty.php Returns the number of rows matched by the last SQL statement.
StatementEmpty::setFetchMode function core/lib/Drupal/Core/Database/StatementEmpty.php Sets the default fetch mode for this statement.
StatementEmpty::valid function core/lib/Drupal/Core/Database/StatementEmpty.php
StatementInterface interface core/lib/Drupal/Core/Database/StatementInterface.php Represents a prepared statement.
StatementInterface.php file core/lib/Drupal/Core/Database/StatementInterface.php
StatementInterface::execute function core/lib/Drupal/Core/Database/StatementInterface.php Executes a prepared 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::getQueryString function core/lib/Drupal/Core/Database/StatementInterface.php Gets the query string of this statement.
StatementInterface::rowCount function core/lib/Drupal/Core/Database/StatementInterface.php Returns the number of rows matched by the last SQL statement.
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::$columnNames property core/lib/Drupal/Core/Database/StatementPrefetch.php The list of column names in this result set.
StatementPrefetch::$connection property core/lib/Drupal/Core/Database/StatementPrefetch.php The Drupal database connection object.
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::$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).

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