protected property 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 master and slaves (use target to pick between master and slave).

Type: string

File

drupal/core/lib/Drupal/Core/Database/Connection.php, line 46
Definition of Drupal\Core\Database\Connection

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $key = NULL;