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
- drupal/core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 487
- Definition of Drupal\Core\Database\Query\SelectInterface
Class
- SelectInterface
- Interface definition for a Select Query object.
Namespace
Drupal\Core\Database\Query
Code
public function __clone();