You are here

public function Query::__clone in Drupal 7

Implements the magic __clone function.

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

File

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);
}