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::$columnNames |
property |
core/lib/Drupal/Core/Database/StatementPrefetchIterator.php |
The list of column names in this result set. |
StatementPrefetchIterator::$data |
property |
core/lib/Drupal/Core/Database/StatementPrefetchIterator.php |
Main data store. |
StatementPrefetchIterator::$defaultFetchMode |
property |
core/lib/Drupal/Core/Database/StatementPrefetchIterator.php |
Holds the default fetch mode. |
StatementPrefetchIterator::$defaultFetchStyle |
property |
core/lib/Drupal/Core/Database/StatementPrefetchIterator.php |
Holds the default fetch style. |
StatementPrefetchIterator::$rowCount |
property |
core/lib/Drupal/Core/Database/StatementPrefetchIterator.php |
The number of rows matched by the last query. |
StatementPrefetchIterator::execute |
function |
core/lib/Drupal/Core/Database/StatementPrefetchIterator.php |
Executes a prepared statement. |
StatementPrefetchIterator::fetchColumn |
function |
core/lib/Drupal/Core/Database/StatementPrefetchIterator.php |
|
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. |
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. |
StatementWrapperIterator |
class |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
StatementInterface iterator implementation. |
StatementWrapperIterator.php |
file |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
|
StatementWrapperIterator::$defaultFetchMode |
property |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Holds the default fetch mode. |
StatementWrapperIterator::execute |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Executes a prepared statement. |
StatementWrapperIterator::getClientStatement |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Returns the client-level database PDO statement object. |
StatementWrapperIterator::__construct |
function |
core/lib/Drupal/Core/Database/StatementWrapperIterator.php |
Constructs a StatementWrapperIterator object. |
StateTest |
class |
core/tests/Drupal/Tests/Core/State/StateTest.php |
Tests Drupal\Core\State\State. |
StateTest |
class |
core/modules/workflows/tests/src/Unit/StateTest.php |
Tests Drupal\workflows\State. |
StateTest.php |
file |
core/modules/workflows/tests/src/Unit/StateTest.php |
|
StateTest.php |
file |
core/tests/Drupal/Tests/Core/State/StateTest.php |
|
StateTest::$keyValueStorage |
property |
core/tests/Drupal/Tests/Core/State/StateTest.php |
The mocked key value store. |
StateTest::$state |
property |
core/tests/Drupal/Tests/Core/State/StateTest.php |
The tested state. |
StateTest::setUp |
function |
core/tests/Drupal/Tests/Core/State/StateTest.php |
|
StateTest::testCanTransitionTo |
function |
core/modules/workflows/tests/src/Unit/StateTest.php |
Tests can transition to. |
StateTest::testDelete |
function |
core/tests/Drupal/Tests/Core/State/StateTest.php |
Tests both delete() & deleteMultiple() method. |
StateTest::testDeleteAfterGet |
function |
core/tests/Drupal/Tests/Core/State/StateTest.php |
Tests both get() & delete() method. |
StateTest::testDeleteMultiple |
function |
core/tests/Drupal/Tests/Core/State/StateTest.php |
Tests both deleteMultiple() method. |
StateTest::testGet |
function |
core/tests/Drupal/Tests/Core/State/StateTest.php |
Tests both get() & getMultiple() method. |