DatabaseConnection::$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

includes/database/database.inc, line 207

Class

DatabaseConnection
Base Database API class.

Code

protected $key = NULL;

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