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. |
StatementTest::testPartiallyIteratedStatementFetchAll |
function |
core/tests/Drupal/KernelTests/Core/Database/StatementTest.php |
Tests statement fetchAll after a partial traversal. |
StatementTest::testPartiallyIteratedStatementFetchAllAssoc |
function |
core/tests/Drupal/KernelTests/Core/Database/StatementTest.php |
Tests statement fetchAllAssoc after a partial traversal. |
StatementTest::testPartiallyIteratedStatementFetchAllKeyed |
function |
core/tests/Drupal/KernelTests/Core/Database/StatementTest.php |
Tests statement fetchAllKeyed after a partial traversal. |
StatementTest::testPartiallyIteratedStatementFetchCol |
function |
core/tests/Drupal/KernelTests/Core/Database/StatementTest.php |
Tests statement fetchCol after a partial traversal. |
StatementTest::testRepeatedInsertStatementReuse |
function |
core/tests/Drupal/KernelTests/Core/Database/StatementTest.php |
Tests that a prepared statement object can be reused for multiple inserts. |
StatementTest::testStatementCountTwice |
function |
core/tests/Drupal/KernelTests/Core/Database/StatementTest.php |
Tests counting a statement twice. |
StatementTest::testStatementForeachTwice |
function |
core/tests/Drupal/KernelTests/Core/Database/StatementTest.php |
Tests a follow-on iteration on a statement using foreach. |
StatementTest::testStatementRewind |
function |
core/tests/Drupal/KernelTests/Core/Database/StatementTest.php |
Tests statement rewinding. |
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::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. |
StatementWrapper::fetchObject |
function |
core/lib/Drupal/Core/Database/StatementWrapper.php |
Fetches the next row and returns it as an object. |
StatementWrapper::getClientStatement |
function |
core/lib/Drupal/Core/Database/StatementWrapper.php |
Returns the client-level database statement object. |
StatementWrapper::getConnectionTarget |
function |
core/lib/Drupal/Core/Database/StatementWrapper.php |
Returns the target connection this statement is associated with. |
StatementWrapper::getIterator |
function |
core/lib/Drupal/Core/Database/StatementWrapper.php |
#[\ReturnTypeWillChange] |
StatementWrapper::getQueryString |
function |
core/lib/Drupal/Core/Database/StatementWrapper.php |
Gets the query string of this statement. |
StatementWrapper::rowCount |
function |
core/lib/Drupal/Core/Database/StatementWrapper.php |
Returns the number of rows matched by the last SQL statement. |
StatementWrapper::setFetchMode |
function |
core/lib/Drupal/Core/Database/StatementWrapper.php |
Sets the default fetch mode for this statement. |
StatementWrapper::__construct |
function |
core/lib/Drupal/Core/Database/StatementWrapper.php |
Constructs a StatementWrapper object. |
StatementWrapperIterator |
class |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
StatementInterface iterator implementation. |
StatementWrapperIterator.php |
file |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
|
StatementWrapperIterator::$clientStatement |
property |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
The client database Statement object. |
StatementWrapperIterator::execute |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Executes a prepared statement. |
StatementWrapperIterator::fetch |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Fetches the next row from a result set. |
StatementWrapperIterator::fetchAll |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Returns an array containing all of the result set rows. |
StatementWrapperIterator::fetchAllAssoc |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Returns the result set as an associative array keyed by the given field. |
StatementWrapperIterator::fetchAllKeyed |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Returns the entire result set as a single associative array. |
StatementWrapperIterator::fetchAssoc |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Fetches the next row and returns it as an associative array. |
StatementWrapperIterator::fetchCol |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Returns an entire single column of a result set as an indexed array. |
StatementWrapperIterator::fetchField |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Returns a single field from the next record of a result set. |
StatementWrapperIterator::fetchObject |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Fetches the next row and returns it as an object. |
StatementWrapperIterator::getClientStatement |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Returns the client-level database statement object. |
StatementWrapperIterator::getConnectionTarget |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Returns the target connection this statement is associated with. |
StatementWrapperIterator::getQueryString |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Gets the query string of this statement. |
StatementWrapperIterator::rowCount |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Returns the number of rows matched by the last SQL statement. |
StatementWrapperIterator::setFetchMode |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Sets the default fetch mode for this statement. |
StatementWrapperIterator::__construct |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Constructs a StatementWrapperIterator object. |