Search for databases

  1. Search 9.5.x for databases
  2. Search 8.9.x for databases
  3. Search 10.3.x for databases
  4. Search 11.x for databases
  5. Search main for databases
  6. Other projects
Title Object type File name Summary
DatabaseSelectTestCase::testUnion function modules/simpletest/tests/database_test.test Test that we can UNION multiple Select queries together. This is
semantically equal to UNION DISTINCT, so we don't explicitly test that.
DatabaseSelectTestCase::testUnionAll function modules/simpletest/tests/database_test.test Test that we can UNION ALL multiple Select queries together.
DatabaseSelectTestCase::testUnionOrder function modules/simpletest/tests/database_test.test Tests that we can UNION multiple Select queries together and set the ORDER.
DatabaseSelectTestCase::testUnionOrderLimit function modules/simpletest/tests/database_test.test Tests that we can UNION multiple Select queries together with a LIMIT.
DatabaseSelectTestCase::testVulnerableComment function modules/simpletest/tests/database_test.test Test query COMMENT system against vulnerabilities.
DatabaseSerializeQueryTestCase class modules/simpletest/tests/database_test.test Query serialization tests.
DatabaseSerializeQueryTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseSerializeQueryTestCase::testSerializeQuery function modules/simpletest/tests/database_test.test Confirm that a query can be serialized and unserialized.
DatabaseStatementBase class includes/database/database.inc Default implementation of DatabaseStatementInterface.
DatabaseStatementBase::$dbh property includes/database/database.inc Reference to the database connection object for this statement.
DatabaseStatementBase::execute function includes/database/database.inc #[\ReturnTypeWillChange]
DatabaseStatementBase::fetchAllAssoc function includes/database/database.inc Returns the result set as an associative array keyed by the given field.
DatabaseStatementBase::fetchAllKeyed function includes/database/database.inc Returns the entire result set as a single associative array.
DatabaseStatementBase::fetchAssoc function includes/database/database.inc Fetches the next row and returns it as an associative array.
DatabaseStatementBase::fetchCol function includes/database/database.inc Returns an entire single column of a result set as an indexed array.
DatabaseStatementBase::fetchField function includes/database/database.inc Returns a single field from the next record of a result set.
DatabaseStatementBase::getQueryString function includes/database/database.inc Gets the query string of this statement.
DatabaseStatementBase::__construct function includes/database/database.inc
DatabaseStatementEmpty class includes/database/database.inc Empty implementation of a database statement.
DatabaseStatementEmpty::current function includes/database/database.inc #[\ReturnTypeWillChange]
DatabaseStatementEmpty::execute function includes/database/database.inc Executes a prepared statement
DatabaseStatementEmpty::fetch function includes/database/database.inc
DatabaseStatementEmpty::fetchAll function includes/database/database.inc
DatabaseStatementEmpty::fetchAllAssoc function includes/database/database.inc Returns the result set as an associative array keyed by the given field.
DatabaseStatementEmpty::fetchAllKeyed function includes/database/database.inc Returns the entire result set as a single associative array.
DatabaseStatementEmpty::fetchAssoc function includes/database/database.inc Fetches the next row and returns it as an associative array.
DatabaseStatementEmpty::fetchCol function includes/database/database.inc Returns an entire single column of a result set as an indexed array.
DatabaseStatementEmpty::fetchField function includes/database/database.inc Returns a single field from the next record of a result set.
DatabaseStatementEmpty::fetchObject function includes/database/database.inc
DatabaseStatementEmpty::getQueryString function includes/database/database.inc Gets the query string of this statement.
DatabaseStatementEmpty::key function includes/database/database.inc #[\ReturnTypeWillChange]
DatabaseStatementEmpty::next function includes/database/database.inc #[\ReturnTypeWillChange]
DatabaseStatementEmpty::rewind function includes/database/database.inc #[\ReturnTypeWillChange]
DatabaseStatementEmpty::rowCount function includes/database/database.inc Returns the number of rows affected by the last SQL statement.
DatabaseStatementEmpty::setFetchMode function includes/database/database.inc
DatabaseStatementEmpty::valid function includes/database/database.inc #[\ReturnTypeWillChange]
DatabaseStatementInterface interface includes/database/database.inc Represents a prepared statement.
DatabaseStatementInterface::execute function includes/database/database.inc Executes a prepared statement
DatabaseStatementInterface::fetchAllAssoc function includes/database/database.inc Returns the result set as an associative array keyed by the given field.
DatabaseStatementInterface::fetchAllKeyed function includes/database/database.inc Returns the entire result set as a single associative array.
DatabaseStatementInterface::fetchAssoc function includes/database/database.inc Fetches the next row and returns it as an associative array.
DatabaseStatementInterface::fetchCol function includes/database/database.inc Returns an entire single column of a result set as an indexed array.
DatabaseStatementInterface::fetchField function includes/database/database.inc Returns a single field from the next record of a result set.
DatabaseStatementInterface::getQueryString function includes/database/database.inc Gets the query string of this statement.
DatabaseStatementInterface::rowCount function includes/database/database.inc Returns the number of rows affected by the last SQL statement.
DatabaseStatementPrefetch class includes/database/prefetch.inc An implementation of DatabaseStatementInterface that prefetches all data.
DatabaseStatementPrefetch::$columnNames property includes/database/prefetch.inc The list of column names in this result set.
DatabaseStatementPrefetch::$currentKey property includes/database/prefetch.inc The key of the current row.
DatabaseStatementPrefetch::$currentRow property includes/database/prefetch.inc The current row, retrieved in PDO::FETCH_ASSOC format.
DatabaseStatementPrefetch::$data property includes/database/prefetch.inc Main data store.

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