src/Squid/MySql/Impl/Command/CmdDelete.php
protected function generate()
	{
		return
			'DELETE FROM ' . $this->getPart(CmdDelete::PART_FROM) . ' ' .
			Assembly::appendWhere($this->getPart(CmdDelete::PART_WHERE), true) .
			Assembly::appendOrderBy($this->getPart(CmdDelete::PART_ORDER_BY)) .
			Assembly::append('LIMIT', $this->getPart(CmdDelete::PART_LIMIT));
	}
protected function generate()
	{
		return
			'DELETE FROM ' . $this->getPart(CmdDelete::PART_FROM) . ' ' .
			Assembly::appendWhere($this->getPart(CmdDelete::PART_WHERE), true) .
			Assembly::appendOrderBy($this->getPart(CmdDelete::PART_ORDER_BY)) .
			Assembly::append('LIMIT', $this->getPart(CmdDelete::PART_LIMIT));
	}
Combine all the parts into one sql.
@return string Created query.