src/Squid/MySql/Impl/Command/CmdInsert.php
public function asSelect(ICmdSelect $select)
	{
		$this->setPart(CmdInsert::PART_VALUES, false);
		return $this->setPart(CmdInsert::PART_AS, $select->assemble(), $select->bind());
	}
public function asSelect(ICmdSelect $select)
	{
		$this->setPart(CmdInsert::PART_VALUES, false);
		return $this->setPart(CmdInsert::PART_AS, $select->assemble(), $select->bind());
	}
Use select command to insert into the table.
Note that in this case no values can be bind to the table.
@param ICmdSelect $select Select sub query used to retrieve the insert values.
@return static