Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Query/Insert.php \Drupal\Core\Database\Query\Insert::fromQuery
  2. 9 core/lib/Drupal/Core/Database/Query/Insert.php \Drupal\Core\Database\Query\Insert::fromQuery

A SelectQuery object to fetch the rows that should be inserted.

Type: \Drupal\Core\Database\Query\SelectInterface

File

core/lib/Drupal/Core/Database/Query/Insert.php, line 21

Class

Insert
General class for an abstracted INSERT query.

Namespace

Drupal\Core\Database\Query

Code

protected $fromQuery;