public Insert::from(SelectInterface $query)
Sets the fromQuery on this InsertQuery object.
\Drupal\Core\Database\Query\SelectInterface $query: The query to fetch the rows that should be inserted.
\Drupal\Core\Database\Query\Insert The called object.
public function from(SelectInterface $query) { $this->fromQuery = $query; return $this; }
© 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/core!lib!Drupal!Core!Database!Query!Insert.php/function/Insert::from/8.1.x