Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
StatementExecutionFailureEvent class core/lib/Drupal/Core/Database/Event/StatementExecutionFailureEvent.php Represents the failure of a statement execution as an event.
StatementExecutionFailureEvent.php file core/lib/Drupal/Core/Database/Event/StatementExecutionFailureEvent.php
StatementExecutionFailureEvent::__construct function core/lib/Drupal/Core/Database/Event/StatementExecutionFailureEvent.php Constructor.
StatementExecutionStartEvent class core/lib/Drupal/Core/Database/Event/StatementExecutionStartEvent.php Represents the start of a statement execution as an event.
StatementExecutionStartEvent.php file core/lib/Drupal/Core/Database/Event/StatementExecutionStartEvent.php
StatementExecutionStartEvent::__construct function core/lib/Drupal/Core/Database/Event/StatementExecutionStartEvent.php Constructs a StatementExecutionStartEvent object.
StatementExecutionSubscriber class core/lib/Drupal/Core/Database/EventSubscriber/StatementExecutionSubscriber.php Response subscriber to statement executions.
StatementExecutionSubscriber.php file core/lib/Drupal/Core/Database/EventSubscriber/StatementExecutionSubscriber.php
StatementExecutionSubscriber::getSubscribedEvents function core/lib/Drupal/Core/Database/EventSubscriber/StatementExecutionSubscriber.php
StatementExecutionSubscriber::onStatementExecutionEnd function core/lib/Drupal/Core/Database/EventSubscriber/StatementExecutionSubscriber.php Subscribes to a statement execution finished event.
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 column.
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 column value 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::getConnectionTarget function core/lib/Drupal/Core/Database/StatementInterface.php Returns the target connection this statement is associated with.
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.
StatementIteratorTrait trait core/lib/Drupal/Core/Database/StatementIteratorTrait.php StatementInterface iterator trait.
StatementIteratorTrait.php file core/lib/Drupal/Core/Database/StatementIteratorTrait.php
StatementIteratorTrait::$isResultsetIterable property core/lib/Drupal/Core/Database/StatementIteratorTrait.php Traces if rows can be fetched from the resultset.
StatementIteratorTrait::$resultsetKey property core/lib/Drupal/Core/Database/StatementIteratorTrait.php The key of the current row.
StatementIteratorTrait::$resultsetRow property core/lib/Drupal/Core/Database/StatementIteratorTrait.php The current row, retrieved in the current fetch format.
StatementIteratorTrait::current function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Returns the current element.
StatementIteratorTrait::getResultsetCurrentRowIndex function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Returns the row index of the current element in the resultset.
StatementIteratorTrait::key function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Returns the key of the current element.
StatementIteratorTrait::markResultsetFetchingComplete function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Informs the iterator that no more rows can be fetched from the resultset.
StatementIteratorTrait::markResultsetIterable function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Informs the iterator whether rows can be fetched from the resultset.
StatementIteratorTrait::next function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Moves the current position to the next element.
StatementIteratorTrait::rewind function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Rewinds back to the first element of the Iterator.
StatementIteratorTrait::setResultsetCurrentRow function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Sets the current resultset row for the iterator, and increments the key.
StatementIteratorTrait::valid function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Checks if current position is valid.
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::execute function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Executes a prepared statement.
StatementPrefetchIterator::getClientStatement function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns the client-level database PDO statement object.
StatementPrefetchIterator::getStatement function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Grab a PDOStatement object from a given query and its arguments.
StatementPrefetchIterator::__construct function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Constructs a StatementPrefetchIterator object.
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::testEmptyStatementCountTwice function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement with no results counting twice.
StatementTest::testEmptyStatementRewind function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests empty statement rewinding.
StatementTest::testIteratedStatementFetch function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetching after a full traversal.

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