You are here

protected property Connection::$key in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::key

The key representing this connection.

The key is a unique string which identifies a database connection. A connection can be a single server or a cluster of primary and replicas (use target to pick between primary and replica).

Type: string|null

File

core/lib/Drupal/Core/Database/Connection.php, line 40
Contains \Drupal\Core\Database\Connection.

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $key = NULL;