function Connection::getFullQualifiedTableName

Get a fully qualified table name.

Parameters

string $table: The name of the table in question.

Return value

string

2 methods override Connection::getFullQualifiedTableName()
Connection::getFullQualifiedTableName in core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
Get a fully qualified table name.
Connection::getFullQualifiedTableName in core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
Get a fully qualified table name.

File

core/lib/Drupal/Core/Database/Connection.php, line 587

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function getFullQualifiedTableName($table) {
  $options = $this->getConnectionOptions();
  $prefix = $this->tablePrefix($table);
  return $options['database'] . '.' . $prefix . $table;
}

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