function SelectQueryExtender::__clone

Overrides SelectQueryInterface::__clone

File

includes/database/select.inc, line 823

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function __clone() {
    $this->uniqueIdentifier = uniqid('', TRUE);
    // We need to deep-clone the query we're wrapping, which in turn may
    // deep-clone other objects.  Exciting!
    $this->query = clone $this->query;
}

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