public function SelectQueryInterface::__clone

public SelectQueryInterface::__clone()

Clone magic method.

Select queries have dependent objects that must be deep-cloned. The connection object itself, however, should not be cloned as that would duplicate the connection itself.

File

includes/database/select.inc, line 514

Class

SelectQueryInterface
Interface definition for a Select Query object.

Code

public function __clone();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!select.inc/function/SelectQueryInterface::__clone/7.x