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
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 matched by the last query.
StatementPrefetch::$rowCountEnabled property core/lib/Drupal/Core/Database/StatementPrefetch.php Is rowCount() execution allowed.
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::getConnectionTarget function core/lib/Drupal/Core/Database/StatementPrefetch.php
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 #[\ReturnTypeWillChange]
StatementPrefetch::next function core/lib/Drupal/Core/Database/StatementPrefetch.php #[\ReturnTypeWillChange]
StatementPrefetch::rewind function core/lib/Drupal/Core/Database/StatementPrefetch.php #[\ReturnTypeWillChange]
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 #[\ReturnTypeWillChange]
StatementPrefetch::__construct function core/lib/Drupal/Core/Database/StatementPrefetch.php Constructs a StatementPrefetch object.
StatementPrefetch::__get function core/lib/Drupal/Core/Database/StatementPrefetch.php Implements the magic __get() method.
StatementPrefetch::__set function core/lib/Drupal/Core/Database/StatementPrefetch.php Implements the magic __set() method.
StatementTest class core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests the Statement classes.
StatementTest.php file core/tests/Drupal/KernelTests/Core/Database/StatementTest.php
StatementTest::testGetDeprecatedProperties function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests accessing deprecated properties.
StatementTest::testRepeatedInsertStatementReuse function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests that a prepared statement object can be reused for multiple inserts.
StatementTest::testSetDeprecatedProperties function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests writing deprecated properties.
StatementWrapper class core/lib/Drupal/Core/Database/StatementWrapper.php Implementation of StatementInterface encapsulating PDOStatement.
StatementWrapper.php file core/lib/Drupal/Core/Database/StatementWrapper.php
StatementWrapper::$clientStatement property core/lib/Drupal/Core/Database/StatementWrapper.php The client database Statement object.
StatementWrapper::$connection property core/lib/Drupal/Core/Database/StatementWrapper.php The Drupal database connection object.
StatementWrapper::$rowCountEnabled property core/lib/Drupal/Core/Database/StatementWrapper.php Is rowCount() execution allowed.
StatementWrapper::bindColumn function core/lib/Drupal/Core/Database/StatementWrapper.php Bind a column to a PHP variable.
StatementWrapper::bindParam function core/lib/Drupal/Core/Database/StatementWrapper.php Binds a parameter to the specified variable name.
StatementWrapper::execute function core/lib/Drupal/Core/Database/StatementWrapper.php Executes a prepared statement.
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.

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