Insert::from
public function Insert::from
public Insert::from(SelectInterface $query)
Sets the fromQuery on this InsertQuery object.
Parameters
\Drupal\Core\Database\Query\SelectInterface $query: The query to fetch the rows that should be inserted.
Return value
\Drupal\Core\Database\Query\Insert The called object.
File
- core/lib/Drupal/Core/Database/Query/登录查看完整内容