public function Query::__clone

7.x query.inc public Query::__clone()
8.x Query.php public Query::__clone()
8.x Query.php public Query::__clone()

Implements the magic __clone function.

1 method overrides Query::__clone()
SelectQuery::__clone in drupal/includes/database/select.inc
Implements the magic __clone function.

File

drupal/includes/database/query.inc, line 359
Non-specific Database query code. Used by all engines.

Class

Query
Base class for query builders.

Code

public function __clone() {
  $this->uniqueIdentifier = uniqid('', TRUE);
}