function StatementInterface::getConnectionTarget

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Database/StatementInterface.php \Drupal\Core\Database\StatementInterface::getConnectionTarget()

Returns the target connection this statement is associated with.

Return value

string The target connection string of this statement.

4 methods override StatementInterface::getConnectionTarget()
StatementPrefetch::getConnectionTarget in core/lib/Drupal/Core/Database/StatementPrefetch.php
Returns the target connection this statement is associated with.
StatementPrefetchIterator::getConnectionTarget in core/lib/Drupal/Core/Database/StatementPrefetchIterator.php
Returns the target connection this statement is associated with.
StatementWrapper::getConnectionTarget in core/lib/Drupal/Core/Database/StatementWrapper.php
Returns the target connection this statement is associated with.
StatementWrapperIterator::getConnectionTarget in core/lib/Drupal/Core/Database/StatementWrapperIterator.php
Returns the target connection this statement is associated with.

File

core/lib/Drupal/Core/Database/StatementInterface.php, line 51

Class

StatementInterface
Represents a prepared statement.

Namespace

Drupal\Core\Database

Code

public function getConnectionTarget() : string;

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